Skip to content

Commit

Permalink
Merge pull request grafana#638 from NissesSenap/disable_leader
Browse files Browse the repository at this point in the history
Stop using leader-elect, use deployment recreate
  • Loading branch information
pb82 authored Nov 30, 2021
2 parents d60ea53 + 4e44919 commit 9c262cd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ spec:
matchLabels:
control-plane: controller-manager
replicas: 1
strategy:
type: Recreate
template:
metadata:
labels:
Expand Down
1 change: 0 additions & 1 deletion config/manager/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ spec:
args:
- "--health-probe-bind-address=:8081"
- "--metrics-bind-address=127.0.0.1:8080"
- "--leader-elect"
- "--zap-log-level=error"
3 changes: 2 additions & 1 deletion deploy/manifests/latest/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ spec:
selector:
matchLabels:
control-plane: controller-manager
strategy:
type: Recreate
template:
metadata:
labels:
Expand All @@ -48,7 +50,6 @@ spec:
- args:
- --health-probe-bind-address=:8081
- --metrics-bind-address=127.0.0.1:8080
- --leader-elect
- --zap-log-level=error
command:
- /manager
Expand Down

0 comments on commit 9c262cd

Please sign in to comment.