Skip to content

Commit

Permalink
[IMP]update kube-apiserver-v1.8 apiserver-count (easzlab#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimeBye authored and gjmzj committed Jul 6, 2018
1 parent ec3bb00 commit 7ff1d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/kube-master/templates/kube-apiserver-v1.8.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 7ff1d71

Please sign in to comment.