mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
the node.kubernetes.io/exclude-from-external-load-balancers label on upgrade
This commit is contained in:
parent
a5489431cf
commit
2afdffb879
@ -171,13 +171,6 @@ func runApply(flags *applyFlags, args []string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: https://github.com/kubernetes/kubeadm/issues/2375
|
|
||||||
fmt.Printf("[upgrade/postupgrade] Applying label %s='' to control plane Nodes\n",
|
|
||||||
kubeadmconstants.LabelExcludeFromExternalLB)
|
|
||||||
if err := upgrade.LabelControlPlaneNodesWithExcludeFromLB(client); err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
// Upgrade RBAC rules and addons.
|
// Upgrade RBAC rules and addons.
|
||||||
klog.V(1).Infoln("[upgrade/postupgrade] upgrading RBAC rules and addons")
|
klog.V(1).Infoln("[upgrade/postupgrade] upgrading RBAC rules and addons")
|
||||||
if err := upgrade.PerformPostUpgradeTasks(client, cfg, flags.dryRun); err != nil {
|
if err := upgrade.PerformPostUpgradeTasks(client, cfg, flags.dryRun); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user