mirror of
https://github.com/rancher/rke.git
synced 2025-09-01 06:56:29 +00:00
Remove ignore-upgrade label from zero downtime upgrade
This commit is contained in:
@@ -163,7 +163,6 @@ func ClusterUp(ctx context.Context, dialersOptions hosts.DialersOptions, flags c
|
||||
kubeCluster.NewHosts = newNodes
|
||||
reconcileCluster = true
|
||||
|
||||
kubeCluster.FindHostsLabeledToIgnoreUpgrade(ctx)
|
||||
maxUnavailableWorker, maxUnavailableControl, err := kubeCluster.CalculateMaxUnavailable()
|
||||
if err != nil {
|
||||
return APIURL, caCrt, clientCert, clientKey, nil, err
|
||||
@@ -247,9 +246,6 @@ func checkAllIncluded(cluster *cluster.Cluster) error {
|
||||
|
||||
var names []string
|
||||
for _, host := range cluster.InactiveHosts {
|
||||
if cluster.HostsLabeledToIgnoreUpgrade[host.Address] {
|
||||
continue
|
||||
}
|
||||
names = append(names, host.Address)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user