Merge pull request #30264 from doughgle/patch-2

Clarify why cordon all but 4 nodes.
This commit is contained in:
Kubernetes Prow Robot
2021-11-25 06:54:34 -08:00
committed by GitHub
@@ -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>