Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
admin-zoujing opened this issue Feb 15, 2019 · 1 comment

Comments

@admin-zoujing
Copy link

执行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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant