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:
14
k8s/node.go
14
k8s/node.go
@@ -14,14 +14,12 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
HostnameLabel = "kubernetes.io/hostname"
|
||||
InternalAddressAnnotation = "rke.cattle.io/internal-ip"
|
||||
ExternalAddressAnnotation = "rke.cattle.io/external-ip"
|
||||
IgnoreHostDuringUpgradeLabel = "user.cattle.io/upgrade-policy"
|
||||
IgnoreLabelValue = "prevent"
|
||||
AWSCloudProvider = "aws"
|
||||
MaxRetries = 5
|
||||
RetryInterval = 5
|
||||
HostnameLabel = "kubernetes.io/hostname"
|
||||
InternalAddressAnnotation = "rke.cattle.io/internal-ip"
|
||||
ExternalAddressAnnotation = "rke.cattle.io/external-ip"
|
||||
AWSCloudProvider = "aws"
|
||||
MaxRetries = 5
|
||||
RetryInterval = 5
|
||||
)
|
||||
|
||||
func DeleteNode(k8sClient *kubernetes.Clientset, nodeName, cloudProvider string) error {
|
||||
|
Reference in New Issue
Block a user