minminmsn / k8s1.13

微服务容器化持续交付总体流程:开发代码提交到Gitlab;Rahcher设置代码库为Gitlab;Rahcher流水线配置编译源码;Rahcher流水线Build Docker镜像;Rancher流水线Push Docker镜像到私有镜像库Harbor;Rancher流水线根据k8s yaml部署文件部署容器。
https://minminmsn.com
181 stars 120 forks source link

k8s1.13/kubernetes/kubernetes1.13.1+etcd3.3.10+flanneld0.10集群部署.md (/k8s/kubernetes/cfg/environment.sh) #2

Open admin-zoujing opened 5 years ago

admin-zoujing commented 5 years ago

执行node节点/k8s/kubernetes/cfg/environment.sh报错 原因:没有加入环境变量 更正:echo 'PATH=/k8s/kubernetes/bin:$PATH' > /etc/profile.d/k8s.sh source /etc/profile.d/k8s.sh

admin-zoujing commented 5 years ago

执行node节点/k8s/kubernetes/cfg/environment.sh最好进入目录,否则生成的文件在现执行目录 更正:cd /k8s/kubernetes/cfg bash -x /k8s/kubernetes/cfg/environment.sh