Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
[Hived]: Disable leader election (#3928)
Browse files Browse the repository at this point in the history
  • Loading branch information
yqwang-ms authored Nov 28, 2019
1 parent 35c4755 commit 4c475f5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ data:
name: hivedscheduler-config
namespace: default
leaderElection:
leaderElect: true
leaderElect: false
lockObjectName: hivedscheduler
lockObjectNamespace: default
policy.cfg : |
Expand Down
1 change: 1 addition & 0 deletions src/hivedscheduler/deploy/hivedscheduler.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ spec:
{%- endif %}
"--config=/hivedscheduler-config/config.yaml",
"--feature-gates=PodPriority=true",
"--leader-elect=false",
"--v=4"]
volumeMounts:
- name: hivedscheduler-config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ data:
name: hivedscheduler-config
namespace: default
leaderElection:
leaderElect: true
leaderElect: false
lockObjectName: hivedscheduler
lockObjectNamespace: default
policy.cfg : |
Expand Down Expand Up @@ -128,6 +128,7 @@ spec:
"--master=http://10.151.41.15:8080",
"--config=/hivedscheduler-config/config.yaml",
"--feature-gates=PodPriority=true",
"--leader-elect=false",
"--v=4"]
volumeMounts:
- name: hivedscheduler-config
Expand Down

0 comments on commit 4c475f5

Please sign in to comment.