mirror of
https://github.com/rancher/rke.git
synced 2025-09-12 13:18:47 +00:00
Change RKE upgrade logic for zero downtime
This commit is contained in:
@@ -185,7 +185,7 @@ func rebuildClusterWithRotatedCertificates(ctx context.Context,
|
||||
}
|
||||
if isLegacyKubeAPI {
|
||||
log.Infof(ctx, "[controlplane] Redeploying controlplane to update kubeapi parameters")
|
||||
if err := kubeCluster.DeployControlPlane(ctx, svcOptionData); err != nil {
|
||||
if err := kubeCluster.DeployControlPlane(ctx, svcOptionData, true); err != nil {
|
||||
return APIURL, caCrt, clientCert, clientKey, nil, err
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user