Browse Source
Merge pull request #2229 from whereismyjetpack/etcd-quorum-read
--etcd-quorum-read is depricated in kube >= 1.9
pull/2222/head
Spencer Smith
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2
|
@ -30,7 +30,9 @@ spec: |
|
|
- apiserver |
|
|
- apiserver |
|
|
- --advertise-address={{ ip | default(ansible_default_ipv4.address) }} |
|
|
- --advertise-address={{ ip | default(ansible_default_ipv4.address) }} |
|
|
- --etcd-servers={{ etcd_access_addresses }} |
|
|
- --etcd-servers={{ etcd_access_addresses }} |
|
|
|
|
|
{% if kube_version | version_compare('v1.9', '<') %} |
|
|
- --etcd-quorum-read=true |
|
|
- --etcd-quorum-read=true |
|
|
|
|
|
{% endif %} |
|
|
- --etcd-cafile={{ etcd_cert_dir }}/ca.pem |
|
|
- --etcd-cafile={{ etcd_cert_dir }}/ca.pem |
|
|
- --etcd-certfile={{ etcd_cert_dir }}/node-{{ inventory_hostname }}.pem |
|
|
- --etcd-certfile={{ etcd_cert_dir }}/node-{{ inventory_hostname }}.pem |
|
|
- --etcd-keyfile={{ etcd_cert_dir }}/node-{{ inventory_hostname }}-key.pem |
|
|
- --etcd-keyfile={{ etcd_cert_dir }}/node-{{ inventory_hostname }}-key.pem |
|
|