Skip to content

Commit 2598ffc

Browse files
authored
Merge pull request #48972 from my-git9/pp-15679
[zh-cn]sync controller-manager-leader-migration
2 parents bd4a063 + 12056ba commit 2598ffc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/zh-cn/docs/tasks/administer-cluster/controller-manager-leader-migration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ Leader Migration can be enabled without a configuration. Please see
186186
kind: LeaderMigrationConfiguration
187187
apiVersion: controllermanager.config.k8s.io/v1
188188
leaderName: cloud-provider-extraction-migration
189+
resourceLock: leases
189190
controllerLeaders:
190191
- name: route
191192
component: kube-controller-manager
@@ -208,6 +209,7 @@ between both parties of the migration.
208209
kind: LeaderMigrationConfiguration
209210
apiVersion: controllermanager.config.k8s.io/v1
210211
leaderName: cloud-provider-extraction-migration
212+
resourceLock: leases
211213
controllerLeaders:
212214
- name: route
213215
component: *
@@ -260,6 +262,7 @@ which has the same effect.
260262
kind: LeaderMigrationConfiguration
261263
apiVersion: controllermanager.config.k8s.io/v1
262264
leaderName: cloud-provider-extraction-migration
265+
resourceLock: leases
263266
controllerLeaders:
264267
- name: route
265268
component: cloud-controller-manager
@@ -400,6 +403,7 @@ controllers.
400403
kind: LeaderMigrationConfiguration
401404
apiVersion: controllermanager.config.k8s.io/v1
402405
leaderName: cloud-provider-extraction-migration
406+
resourceLock: leases
403407
controllerLeaders:
404408
- name: route
405409
component: *

0 commit comments

Comments
 (0)