File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
content/en/docs/tasks/extend-kubernetes Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -119,11 +119,11 @@ pod in this list.
119
119
120
120
To run multiple-scheduler with leader election enabled, you must do the following:
121
121
122
- First, update the following fields in your YAML file:
122
+ First, update the following fields in the Scheduler Configuration of your YAML file:
123
123
124
- * ` --leader-elect= true`
125
- * ` --lock-object-namespace= <lock-object-namespace>`
126
- * ` --lock-object-name= <lock-object-name>`
124
+ * ` leaderElection.leaderElect ` to ` true `
125
+ * ` leaderElection.resourceNamespace ` to ` <lock-object-namespace> `
126
+ * ` leaderElection.resourceName ` to ` <lock-object-name> `
127
127
128
128
{{< note >}}
129
129
The control plane creates the lock objects for you, but the namespace must already exist.
You can’t perform that action at this time.
0 commit comments