Skip to content

Commit 819d7c8

Browse files
authored
Merge pull request #30657 from SataQiu/fix-kubeadm-20211128
kubeadm: add instructions about rebalancing CoreDNS Pods after joining more nodes
2 parents be94f3f + 344aa15 commit 819d7c8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/en/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,12 @@ Run 'kubectl get nodes' on control-plane to see this machine join.
383383
A few seconds later, you should notice this node in the output from `kubectl get
384384
nodes` when run on the control-plane node.
385385

386+
{{< note >}}
387+
As the cluster nodes are usually initialized sequentially, the CoreDNS Pods are likely to all run
388+
on the first control-plane node. To provide higher availability, please rebalance the CoreDNS Pods
389+
with `kubectl -n kube-system rollout restart deployment coredns` after at least one new node is joined.
390+
{{< /note >}}
391+
386392
### (Optional) Controlling your cluster from machines other than the control-plane node
387393

388394
In order to get a kubectl on some other computer (e.g. laptop) to talk to your

0 commit comments

Comments
 (0)