[IMP]update kube-apiserver-v1.8 apiserver-count (#254)

pull/256/merge
TimeBye 2018-07-06 08:43:56 +08:00 committed by jmgao
parent ec3bb004be
commit 7ff1d71ef3
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ ExecStart={{ bin_dir }}/kube-apiserver \
--etcd-keyfile={{ ca_dir }}/kubernetes-key.pem \
--etcd-servers={{ ETCD_ENDPOINTS }} \
--enable-swagger-ui=true \
--apiserver-count=3 \
--apiserver-count={% if DEPLOY_MODE == "multi-master" %}{{ groups['kube-master']|length + groups['new-master']|length }}{% else %}1{% endif %} \
--allow-privileged=true \
--audit-log-maxage=30 \
--audit-log-maxbackup=3 \