diff --git a/cluster/addons.go b/cluster/addons.go index be4c618f..d32e0a72 100644 --- a/cluster/addons.go +++ b/cluster/addons.go @@ -32,6 +32,9 @@ const ( KubeDNSAddonAppName = "kube-dns" KubeDNSAutoscalerAppName = "kube-dns-autoscaler" CoreDNSAutoscalerAppName = "coredns-autoscaler" + KubeAPIAuthAppName = "kube-api-auth" + CattleClusterAgentAppName = "cattle-cluster-agent" + CattleAgentAppName = "cattle-agent" CoreDNSProvider = "coredns" KubeDNSProvider = "kube-dns" diff --git a/cluster/cluster.go b/cluster/cluster.go index ff9f07f8..2abc86eb 100644 --- a/cluster/cluster.go +++ b/cluster/cluster.go @@ -494,6 +494,9 @@ func RestartClusterPods(ctx context.Context, kubeCluster *Cluster) error { fmt.Sprintf("%s=%s", KubeAppLabel, KubeDNSAddonAppName), fmt.Sprintf("%s=%s", KubeAppLabel, KubeDNSAutoscalerAppName), fmt.Sprintf("%s=%s", KubeAppLabel, CoreDNSAutoscalerAppName), + fmt.Sprintf("%s=%s", AppLabel, KubeAPIAuthAppName), + fmt.Sprintf("%s=%s", AppLabel, CattleClusterAgentAppName), + fmt.Sprintf("%s=%s", AppLabel, CattleAgentAppName), } var errgrp errgroup.Group labelQueue := util.GetObjectQueue(labelsList)