mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-30 21:30:16 +00:00 
			
		
		
		
	add ControllerManagerLeaderMigration as beta
This feature was in staging/src/k8s.io/controller-manager/pkg/features/kube_features.go but missing here.
This commit is contained in:
		| @@ -795,6 +795,13 @@ const ( | |||||||
| 	// | 	// | ||||||
| 	// Allow fine-tuning of cpumanager policies | 	// Allow fine-tuning of cpumanager policies | ||||||
| 	CPUManagerPolicyOptions featuregate.Feature = "CPUManagerPolicyOptions" | 	CPUManagerPolicyOptions featuregate.Feature = "CPUManagerPolicyOptions" | ||||||
|  |  | ||||||
|  | 	// owner: @jiahuif | ||||||
|  | 	// alpha: v1.21 | ||||||
|  | 	// beta:  v1.22 | ||||||
|  | 	// | ||||||
|  | 	// Enables Leader Migration for kube-controller-manager and cloud-controller-manager | ||||||
|  | 	ControllerManagerLeaderMigration featuregate.Feature = "ControllerManagerLeaderMigration" | ||||||
| ) | ) | ||||||
|  |  | ||||||
| func init() { | func init() { | ||||||
| @@ -913,6 +920,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS | |||||||
| 	KubeletInUserNamespace:                         {Default: false, PreRelease: featuregate.Alpha}, | 	KubeletInUserNamespace:                         {Default: false, PreRelease: featuregate.Alpha}, | ||||||
| 	MemoryQoS:                                      {Default: false, PreRelease: featuregate.Alpha}, | 	MemoryQoS:                                      {Default: false, PreRelease: featuregate.Alpha}, | ||||||
| 	CPUManagerPolicyOptions:                        {Default: false, PreRelease: featuregate.Alpha}, | 	CPUManagerPolicyOptions:                        {Default: false, PreRelease: featuregate.Alpha}, | ||||||
|  | 	ControllerManagerLeaderMigration:               {Default: true, PreRelease: featuregate.Beta}, | ||||||
|  |  | ||||||
| 	// inherited features from generic apiserver, relisted here to get a conflict if it is changed | 	// inherited features from generic apiserver, relisted here to get a conflict if it is changed | ||||||
| 	// unintentionally on either side: | 	// unintentionally on either side: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user