diff options
author | hu xinhui <xinhui_hu@foxmail.com> | 2018-01-10 16:03:25 +0800 |
---|---|---|
committer | hu xinhui <xinhui_hu@foxmail.com> | 2018-01-24 11:12:13 +0800 |
commit | c6b9a863cf92f824e8b8e3004f6e1f649170e4f1 (patch) | |
tree | 910014e8ef5a7eae5cd345e41c1bd9793086b5d6 /deploy/compass_conf/templates/ansible_installer/kubernetes | |
parent | 24e25de8fc981e3b33ffaa71e76f27dedcf6b89e (diff) |
spport k8s apiserver HA
compass installer deploy k8s using kubespray for default,
but k8s apiserver HA is not implemented by kubespray, This
patch aim is to achieve the k8s apiserver HA
Change-Id: I805b5eb2f4efa7ca82fcef7bfd3f4cad35ed65b5
JIRA: -
Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
Diffstat (limited to 'deploy/compass_conf/templates/ansible_installer/kubernetes')
-rw-r--r-- | deploy/compass_conf/templates/ansible_installer/kubernetes/vars/ansible-kubernetes.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/compass_conf/templates/ansible_installer/kubernetes/vars/ansible-kubernetes.tmpl b/deploy/compass_conf/templates/ansible_installer/kubernetes/vars/ansible-kubernetes.tmpl index 440bf7d7..ff4d587c 100644 --- a/deploy/compass_conf/templates/ansible_installer/kubernetes/vars/ansible-kubernetes.tmpl +++ b/deploy/compass_conf/templates/ansible_installer/kubernetes/vars/ansible-kubernetes.tmpl @@ -82,7 +82,7 @@ dashboard_host: "{{ internal_ip }}" haproxy_hosts: #for $item in $has #set $hostname=$item["hostname"] - $hostname: $ip_settings[$hostname]["mgmt"]["ip"] + $hostname: $ip_settings[$hostname]["external"]["ip"] #end for host_index: |