use master election option instead of podmaster

This commit is contained in:
Smaine Kahlouch
2016-03-21 22:25:09 +01:00
parent ba4ad51c26
commit c51ed4bbb7
5 changed files with 6 additions and 53 deletions

View File

@@ -12,6 +12,7 @@ spec:
- /hyperkube
- controller-manager
- --master=http://127.0.0.1:{{kube_apiserver_insecure_port}}
- --leader-elect=true
- --service-account-private-key-file={{ kube_cert_dir }}/apiserver-key.pem
- --root-ca-file={{ kube_cert_dir }}/ca.pem
- --v={{ kube_log_level | default('2') }}