diff --git a/cluster/addons.go b/cluster/addons.go index 5e78edea..1af01359 100644 --- a/cluster/addons.go +++ b/cluster/addons.go @@ -33,6 +33,7 @@ const ( KubeDNSAutoscalerAppName = "kube-dns-autoscaler" CoreDNSAutoscalerAppName = "coredns-autoscaler" KubeAPIAuthAppName = "kube-api-auth" + CattleClusterAgentAppName = "cattle-cluster-agent" CoreDNSProvider = "coredns" KubeDNSProvider = "kube-dns" diff --git a/cluster/cluster.go b/cluster/cluster.go index f0547158..6f6fa104 100644 --- a/cluster/cluster.go +++ b/cluster/cluster.go @@ -495,6 +495,7 @@ func RestartClusterPods(ctx context.Context, kubeCluster *Cluster) error { fmt.Sprintf("%s=%s", KubeAppLabel, KubeDNSAutoscalerAppName), fmt.Sprintf("%s=%s", KubeAppLabel, CoreDNSAutoscalerAppName), fmt.Sprintf("%s=%s", AppLabel, KubeAPIAuthAppName), + fmt.Sprintf("%s=%s", AppLabel, CattleClusterAgentAppName), } var errgrp errgroup.Group labelQueue := util.GetObjectQueue(labelsList)