Update etcd-servers for apiserver (#8253)
parent
a24162f596
commit
ee0f1e9d58
|
@ -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 New Issue