• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






会飞の鱼

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

04 2018 档案

 
容器网络之网桥
摘要:创建网桥 # brctl addbr mhc 绑定到物理网卡(网卡会失效) # brctl addif mhc enp3s0 # ifconfig enp3s0 0.0.0.0 给网桥配置一个ip (启用了) # ifconfig mhc 109.105.4.65 # ifconfig docker 阅读全文
posted @ 2018-04-29 12:36 会飞の鱼 阅读(358) 评论(0) 推荐(0)
容器网络之 veth设备
摘要:创建命名空间 # ip netns add mhc # ip link show1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT qlen 1 link/loopback 00:00:00 阅读全文
posted @ 2018-04-29 12:12 会飞の鱼 阅读(648) 评论(0) 推荐(0)
ubuntu apt-get 代理
摘要:# cat /etc/apt/apt.conf Acquire::http::Proxy "http://109.105.4.17:8119"; Acquire::https::Proxy "http://109.105.4.17:8119"; 阅读全文
posted @ 2018-04-28 14:35 会飞の鱼 阅读(144) 评论(0) 推荐(0)
Kubernetes v1.10.x HA 全手动安装教程(TL;DR)
摘要:转自 https://www.kubernetes.org.cn/3814.html 本篇延续过往手动安装方式来部署 Kubernetes v1.10.x 版本的 High Availability 集群,主要目的是学习 Kubernetes 安装的一些元件关析与流程。若不想这么累的话,可以参考 P 阅读全文
posted @ 2018-04-27 16:43 会飞の鱼 阅读(1663) 评论(0) 推荐(0)
解决docker tty窗口太小,命令换行的问题
摘要:docker exec -it -e LINES=$(tput lines) -e COLUMNS=$(tput cols) ed08 bash 阅读全文
posted @ 2018-04-27 15:23 会飞の鱼 阅读(2923) 评论(0) 推荐(1)
network
摘要:yum install tcpdump tcpdump -i eth1 -vvv icmp # dig gcloud.bst-1.cns.bstjpc.com @109.105.30.14; <<>> DiG 9.9.4-RedHat-9.9.4-38.el7_3.3 <<>> gcloud.bst 阅读全文
posted @ 2018-04-27 11:15 会飞の鱼 阅读(592) 评论(0) 推荐(0)
etcd 集群搭建
摘要:export http_proxy=http://109.105.4.17:8119 && https_proxy=http://109.105.4.17:8119 yum install etcd -y vi /etc/etcd/etcd.conf 阅读全文
posted @ 2018-04-25 22:08 会飞の鱼 阅读(160) 评论(0) 推荐(0)
rook issues
摘要:ceph-volumeattacher: failed rbd single_major check, assuming it's unsupported: failed to check for rbd module single_major param: Failed to complete ' 阅读全文
posted @ 2018-04-23 18:58 会飞の鱼 阅读(635) 评论(0) 推荐(0)
rook 删不掉的问题
摘要:# kubectl get crd -o yamlapiVersion: v1items:- apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: creationTimestamp: 20 阅读全文
posted @ 2018-04-19 18:04 会飞の鱼 阅读(502) 评论(0) 推荐(0)
Taints和Tolerations
摘要:Taints和Tolerations和搭配使用的,Taints定义在Node节点上,声明污点及标准行为,Tolerations定义在Pod,声明可接受得污点。 可以在命令行为Node节点添加Taints: 也可以直接在node的定义中修改annotations: operator可以定义为: Equ 阅读全文
posted @ 2018-04-16 15:39 会飞の鱼 阅读(212) 评论(0) 推荐(0)
rook
摘要:https://github.com/rook/rook https://rook.github.io/docs/rook/master/ Rook是在云本地环境中运行的分布式存储系统的开源编排器。Rook将分布式存储软件转变为自我管理,自我缩放和自我修复的存储服务。它通过自动化部署,引导,配置,供 阅读全文
posted @ 2018-04-15 18:11 会飞の鱼 阅读(1438) 评论(0) 推荐(0)
磁盘挂载
摘要:fdisk /dev/sdb d 删除分区 n 添加分区 (p 主,e 扩展) + 233G w 保存 格式化 mkfs -t ext3 /dev/sdb1 挂载 mkdir /ssd mount /dev/sdb1 /ssd vi /etc/fstab 添加 /dev/sdb1 /ssd ext3 阅读全文
posted @ 2018-04-14 15:34 会飞の鱼 阅读(131) 评论(0) 推荐(0)
centos 使用windows7 存储
摘要:1. 在Windows7上创建一个带密码的用户,如disk 2. 创建一个文件夹,如 D:\centos-disk2 3. 选中此文件夹,点击上方的 共享 -> 特定用户, 添加disk用户,改为 读写 权限 4、在Linux下安装samba-client客户端 # yum install samb 阅读全文
posted @ 2018-04-14 14:12 会飞の鱼 阅读(132) 评论(0) 推荐(0)
centos禁止 You have new mail in /var/spool/mail/root提示
摘要:在/etc/profile 增加unset MAILCHECK 阅读全文
posted @ 2018-04-14 12:22 会飞の鱼 阅读(157) 评论(0) 推荐(0)
linux 使用systemctl 启动服务报错: Error: No space left on device
摘要:By default, Linux only allocates 8192 watches for inotify, which is ridiculously low. And when it runs out, the error is also No space left on device, 阅读全文
posted @ 2018-04-14 12:21 会飞の鱼 阅读(3425) 评论(0) 推荐(0)
helm 安装 spinnaker
摘要:$ curl -Lo values.yaml https://raw.githubusercontent.com/kubernetes/charts/master/stable/spinnaker/values.yaml helm install -n my-spinnaker stable/spi 阅读全文
posted @ 2018-04-11 20:45 会飞の鱼 阅读(538) 评论(0) 推荐(0)
helm
摘要:helm versionClient: &version.Version{SemVer:"v2.8.2", GitCommit:"a80231648a1473929271764b920a8e346f6de844", GitTreeState:"clean"} docker pull gcr.io/k 阅读全文
posted @ 2018-04-11 15:21 会飞の鱼 阅读(329) 评论(0) 推荐(0)
spinnaker
摘要:https://www.spinnaker.io/guides/tutorials/codelabs/kubernetes-source-to-prod/#configuring-kubernetes 阅读全文
posted @ 2018-04-10 19:21 会飞の鱼 阅读(171) 评论(0) 推荐(0)
rundeck
摘要:docker run -d -p 4440:4440 -e EXTERNAL_SERVER_URL=http://109.105.4.65:4440 -v/root/rundeck:/var/rundeck --name rundeck -t registry.bst-1.cns.bstjpc.co 阅读全文
posted @ 2018-04-09 20:58 会飞の鱼 阅读(323) 评论(0) 推荐(0)
cudnn 安装
摘要:ubuntu 下载地址 https://developer.nvidia.com/rdp/cudnn-download 安装教程 http://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html#axzz4qYJp45J2 To ver 阅读全文
posted @ 2018-04-09 15:48 会飞の鱼 阅读(177) 评论(0) 推荐(0)
安装nvidia driver
摘要:ubuntu16.04 下载地址 http://www.nvidia.com/Download/index.aspx dpkg -i nvidia-diag-driver-local-repo-ubuntu1604-390.46_1.0-1_amd64.deb apt-get update apt- 阅读全文
posted @ 2018-04-09 15:44 会飞の鱼 阅读(281) 评论(0) 推荐(0)
helm
摘要:https://docs.helm.sh/ 阅读全文
posted @ 2018-04-08 10:23 会飞の鱼 阅读(145) 评论(0) 推荐(0)
kubelet disk 压力
摘要:systemctl stop docker mv /var/lib/docker /data/lib ln -s /data/lib/docker /var/lib/docker systemctl start docker 或 docker启动参数 --graph=/opt/docker 阅读全文
posted @ 2018-04-03 16:29 会飞の鱼 阅读(151) 评论(0) 推荐(0)