mirror of
https://github.com/rancher/rke.git
synced 2025-09-17 15:40:07 +00:00
Restart Kubeapi auth pod
This commit is contained in:
committed by
Alena Prokharchyk
parent
d9e0a9d749
commit
6f6f2c4b90
@@ -32,6 +32,7 @@ const (
|
||||
KubeDNSAddonAppName = "kube-dns"
|
||||
KubeDNSAutoscalerAppName = "kube-dns-autoscaler"
|
||||
CoreDNSAutoscalerAppName = "coredns-autoscaler"
|
||||
KubeAPIAuthAppName = "kube-api-auth"
|
||||
|
||||
CoreDNSProvider = "coredns"
|
||||
KubeDNSProvider = "kube-dns"
|
||||
|
@@ -494,6 +494,7 @@ 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),
|
||||
}
|
||||
var errgrp errgroup.Group
|
||||
labelQueue := util.GetObjectQueue(labelsList)
|
||||
|
Reference in New Issue
Block a user