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

请教:如何修改kubelet的node-ip #13

Closed
muercy opened this issue Apr 14, 2019 · 2 comments
Closed

请教:如何修改kubelet的node-ip #13

muercy opened this issue Apr 14, 2019 · 2 comments

Comments

@muercy
Copy link

muercy commented Apr 14, 2019

您好,每个node是多网卡的话,需要在kubelet启动参数中指定--node-ip,请教该如何操作

@maguowei
Copy link
Owner

maguowei commented Jun 17, 2019

this may help:kubernetes/kubeadm#203

@lidalao
Copy link

lidalao commented Jul 14, 2019

Hi,
在单主集群中,添加‘--node-ip’可以工作。但是在最新的多主集群部署方式中,新主节点的etcd服务仍然不会用指定的node ip。

重现步骤

参考:https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/

环境:

  1. docker-ce:
version 18.09.7, build 2d0083d
  1. k8s:
kubeadm version: &version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-19T16:37:41Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
  1. ubuntu v18.4 LTS. (VirtualBox)

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

3 participants