kubernetes/cmd/kubeadm/app/util/config
Lubomir I. Ivanov fb7ddf88e9 kubeadm: mark the "master" label/taint as deprecated
- Mark the "node-role.kubernetes.io/master" key for labels
and taints as deprecated.
- During "kubeadm init/join" apply the label
"node-role.kubernetes.io/control-plane" to new control-plane nodes,
next to the existing "node-role.kubernetes.io/master" label.
- During "kubeadm upgrade apply", find all Nodes with the "master"
label and also apply the "control-plane" label to them
(if they don't have it).
- During upgrade health-checks collect Nodes labeled both "master"
and "control-plane".
- Rename the constants.ControlPlane{Taint|Toleraton} to
constants.OldControlPlane{Taint|Toleraton} to manage the transition.
- Mark constants.OldControlPlane{{Taint|Toleraton} as deprecated.
- Use constants.OldControlPlane{{Taint|Toleraton} instead of
constants.ControlPlane{Taint|Toleraton} everywhere.
- Introduce constants.ControlPlane{Taint|Toleraton}.
- Add constants.ControlPlaneToleraton to the kube-dns / CoreDNS
Deployments to make them anticipate the introduction
of the "node-role.kubernetes.io/control-plane:NoSchedule"
taint (constants.ControlPlaneTaint) on kubeadm control-plane Nodes.
2020-11-10 22:10:13 +02:00
..
strict Run hack/update-vendor.sh 2020-05-16 07:54:33 -04:00
BUILD kubeadm: Cleanup and refactor the LoadJoinConfigurationFromFile test 2020-07-03 20:00:49 +03:00
cluster_test.go kubeadm: mark the "master" label/taint as deprecated 2020-11-10 22:10:13 +02:00
cluster.go fix the bug that kubeadm tries to call 'docker info' even if the CRI socket was for another CR 2020-09-10 14:05:36 +08:00
common_test.go Initial deprecation of kubeadm v1beta1 apis 2019-10-06 23:26:12 +00:00
common.go switch over k/k to use klog v2 2020-05-16 07:54:27 -04:00
initconfiguration_test.go kubeadm: Cleanup and refactor the LoadJoinConfigurationFromFile test 2020-07-03 20:00:49 +03:00
initconfiguration.go kubeadm: mark the "master" label/taint as deprecated 2020-11-10 22:10:13 +02:00
joinconfiguration_test.go kubeadm: Cleanup and refactor the LoadJoinConfigurationFromFile test 2020-07-03 20:00:49 +03:00
joinconfiguration.go switch over k/k to use klog v2 2020-05-16 07:54:27 -04:00