Merge pull request #48972 from my-git9/pp-15679

[zh-cn]sync controller-manager-leader-migration
This commit is contained in:
Kubernetes Prow Robot 2024-12-08 08:18:01 +00:00 committed by GitHub
commit 2598ffc4ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -186,6 +186,7 @@ Leader Migration can be enabled without a configuration. Please see
kind: LeaderMigrationConfiguration
apiVersion: controllermanager.config.k8s.io/v1
leaderName: cloud-provider-extraction-migration
resourceLock: leases
controllerLeaders:
- name: route
component: kube-controller-manager
@ -208,6 +209,7 @@ between both parties of the migration.
kind: LeaderMigrationConfiguration
apiVersion: controllermanager.config.k8s.io/v1
leaderName: cloud-provider-extraction-migration
resourceLock: leases
controllerLeaders:
- name: route
component: *
@ -260,6 +262,7 @@ which has the same effect.
kind: LeaderMigrationConfiguration
apiVersion: controllermanager.config.k8s.io/v1
leaderName: cloud-provider-extraction-migration
resourceLock: leases
controllerLeaders:
- name: route
component: cloud-controller-manager
@ -400,6 +403,7 @@ controllers.
kind: LeaderMigrationConfiguration
apiVersion: controllermanager.config.k8s.io/v1
leaderName: cloud-provider-extraction-migration
resourceLock: leases
controllerLeaders:
- name: route
component: *