Update etcd-servers for apiserver (#8253)
This commit is contained in:
parent
a24162f596
commit
ee0f1e9d58
1 changed files with 7 additions and 0 deletions
|
@ -15,3 +15,10 @@
|
|||
- "Master | Restart kube-controller-manager"
|
||||
- "Master | Restart kube-scheduler"
|
||||
- "Master | reload kubelet"
|
||||
|
||||
- name: Update etcd-servers for apiserver
|
||||
lineinfile:
|
||||
dest: "{{ kube_config_dir }}/manifests/kube-apiserver.yaml"
|
||||
regexp: '^ - --etcd-servers='
|
||||
line: ' - --etcd-servers={{ etcd_access_addresses }}'
|
||||
when: not etcd_kubeadm_enabled | default(false)
|
||||
|
|
Loading…
Reference in a new issue