1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-12 13:18:47 +00:00

Restart Cattle agent pods and kubeapi auth pods

This commit is contained in:
galal-hussein
2019-03-14 04:33:08 +02:00
committed by Alena Prokharchyk
parent f145eb39b4
commit 26d10514d8
2 changed files with 6 additions and 0 deletions

View File

@@ -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)