Clarify why cordon all but 4 nodes.

This commit is contained in:
Douglas Hellinger
2021-10-27 15:58:55 +08:00
committed by GitHub
parent 6490aafd51
commit b2035168a7
@@ -894,8 +894,7 @@ Use this command to get the nodes in your cluster.
kubectl get nodes kubectl get nodes
``` ```
Use [`kubectl cordon`](/docs/reference/generated/kubectl/kubectl-commands/#cordon) to This tutorial assumes a cluster with at least four nodes. If the cluster has more than four, use [`kubectl cordon`](/docs/reference/generated/kubectl/kubectl-commands/#cordon) to cordon all but four nodes. Constraining to four nodes will ensure Kubernetes encounters affinity and PodDisruptionBudget constraints when scheduling zookeeper Pods in the following maintenance simulation.
cordon all but four of the nodes in your cluster.
```shell ```shell
kubectl cordon <node-name> kubectl cordon <node-name>