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:
committed by
Alena Prokharchyk
parent
f145eb39b4
commit
26d10514d8
@@ -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)
|
||||
|
Reference in New Issue
Block a user