kubeadm: update references of "master" label/taint for 1.24
In 1.24 kubeadm will: - stop using the "master" label on CP nodes. - start tainting CP nodes with both "master" and "control-plane" taints. In 1.25 the "master" taint will be removed. Adjust references of the "master" label/taint to the above.
This commit is contained in:
@@ -318,11 +318,12 @@ Please note that:
|
||||
|
||||
As soon as the control plane is available, kubeadm executes following actions:
|
||||
|
||||
- Labels the node as control-plane with `node-role.kubernetes.io/master=""`
|
||||
- Taints the node with `node-role.kubernetes.io/master:NoSchedule`
|
||||
- Labels the node as control-plane with `node-role.kubernetes.io/control-plane=""`
|
||||
- Taints the node with `node-role.kubernetes.io/master:NoSchedule` and `node-role.kubernetes.io/control-plane:NoSchedule`
|
||||
|
||||
Please note that:
|
||||
|
||||
1. The `node-role.kubernetes.io/master` taint is deprecated and will be removed in kubeadm version 1.25
|
||||
1. Mark control-plane phase phase can be invoked individually with the [`kubeadm init phase mark-control-plane`](/docs/reference/setup-tools/kubeadm/kubeadm-init-phase/#cmd-phase-mark-control-plane) command
|
||||
|
||||
### Configure TLS-Bootstrapping for node joining
|
||||
|
||||
@@ -105,7 +105,7 @@ By default the certs and encryption key expire after two hours.
|
||||
|
||||
## kubeadm init phase mark-control-plane {#cmd-phase-mark-control-plane}
|
||||
|
||||
Use the following phase to label and taint the node with the `node-role.kubernetes.io/master=""` key-value pair.
|
||||
Use the following phase to label and taint the node as a control plane node.
|
||||
|
||||
{{< tabs name="tab-mark-control-plane" >}}
|
||||
{{< tab name="mark-control-plane" include="generated/kubeadm_init_phase_mark-control-plane.md" />}}
|
||||
|
||||
Reference in New Issue
Block a user