-
Notifications
You must be signed in to change notification settings - Fork 373
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
[Windows] Set Node IP after kubeadm join
complete
#743
Conversation
Thanks for your PR. The following commands are available:
These commands can only be run by members of the vmware-tanzu organization. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammar is a bit off in commit message:
In the document we have a step to set the Node IP used by
kubelet by editing the kubeadm-flags.env file. However, the
file only exists after "kubeadm join" completes.
This patch moves the set Node IP step after "kubeadm join".
And adds a "restart-service kubelet" operation to make the configuration
change effective.
docs/windows.md
Outdated
``` | ||
KUBELET_KUBEADM_ARGS="--cgroup-driver= --network-plugin=cni --pod-infra-container-image=k8s.gcr.io/pause:3.1" | ||
``` | ||
Append "--node-ip=$NODE_IP" at the end of params. Replace `$NODE_IP` with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use backticks here for consistency: --node-ip=$NODE_IP
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
docs/windows.md
Outdated
``` | ||
KUBELET_KUBEADM_ARGS="--cgroup-driver= --network-plugin=cni --pod-infra-container-image=k8s.gcr.io/pause:3.1 --node-ip=$NODE_IP"``` | ||
``` | ||
Restart kubelet service to take effect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restart kubelet service to take effect. | |
Restart kubelet service for changes to take effect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
In the document we have a step to set the Node IP used by kubelet by editing the kubeadm-flags.env file. However, the file only exists after "kubeadm join" completes. This patch moves the set Node IP step after "kubeadm join". And adds a "restart-service kubelet" operation to make the configuration change effective. Signed-off-by: Rui Cao <rcao@vmware.com>
In the document we have a step to set the Node IP used by kubelet by editing the kubeadm-flags.env file. However, the file only exists after "kubeadm join" completes. This patch moves the set Node IP step after "kubeadm join". And adds a "restart-service kubelet" operation to make the configuration change effective. Signed-off-by: Rui Cao <rcao@vmware.com>
Thanks @antoninbas ~. Fix the issues. |
/skip-all |
docs/windows.md
Outdated
Append `--node-ip=$NODE_IP` at the end of params. Replace `$NODE_IP` with | ||
the address for kubelet. It should look like: | ||
``` | ||
KUBELET_KUBEADM_ARGS="--cgroup-driver= --network-plugin=cni --pod-infra-container-image=k8s.gcr.io/pause:3.1 --node-ip=$NODE_IP"``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you have an extra set of triple backticks at the end I think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
In the document we have a step to set the Node IP used by kubelet by editing the kubeadm-flags.env file. However, the file only exists after "kubeadm join" completes. This patch moves the set Node IP step after "kubeadm join". And adds a "restart-service kubelet" operation to make the configuration change effective. Signed-off-by: Rui Cao <rcao@vmware.com>
/skip-all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/skip-all |
/skip-test-e2e |
/test-e2e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change in this PR looks good to me.
However, I found I added a few extra comments of your last PR #706 after it was merged. Could you check those comments as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. The changes in #751 look good.
In the document we have a step to set the Node IP used by kubelet by editing the kubeadm-flags.env file. However, the file only exists after "kubeadm join" completes. This patch moves the set Node IP step after "kubeadm join". And adds a "restart-service kubelet" operation to make the configuration change effective. Signed-off-by: Rui Cao <rcao@vmware.com>
/test-all |
1 similar comment
/test-all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-approving
In the document we have a step to set the Node IP used by kubelet by editing the kubeadm-flags.env file. However, the file only exists after "kubeadm join" completes. This patch moves the set Node IP step after "kubeadm join". And adds a "restart-service kubelet" operation to make the configuration change effective. Signed-off-by: Rui Cao <rcao@vmware.com>
In the document we have a step to set the Node IP used by kubelet by editing the kubeadm-flags.env file. However, the file only exists after "kubeadm join" completes. This patch moves the set Node IP step after "kubeadm join". And adds a "restart-service kubelet" operation to make the configuration change effective. Signed-off-by: Rui Cao <rcao@vmware.com>
In the document we have a step to set the Node IP used by kubelet by editing the kubeadm-flags.env file. However, the file only exists after "kubeadm join" completes. This patch moves the set Node IP step after "kubeadm join". And adds a "restart-service kubelet" operation to make the configuration change effective. Signed-off-by: Rui Cao <rcao@vmware.com>
In the document we have a step to set the Node IP used by
kubelet by editing the kubeadm-flags.env file. However, the
file only exists after "kubeadm join" completes.
This patch moves the set Node IP step after "kubeadm join".
And adds a "restart-service kubelet" operation to make the configuration
change effective.
Signed-off-by: Rui Cao rcao@vmware.com