Improve control plane scale flow (#13) (#7989)

* Improve control plane scale flow (#13)

* Added version 1.20.10 of K8s

* Setting first_kube_control_plane to a existing one

* Setting first_kube_control_plane to a existing one

* change first_kube_master for first_kube_control_plane

* Ansible-lint changes
This commit is contained in:
Alvaro Campesino
2021-12-06 09:16:32 +01:00
committed by GitHub
parent 615216f397
commit 27ab364df5
8 changed files with 37 additions and 15 deletions

View File

@@ -13,7 +13,7 @@ data:
KUBERNETES_SERVICE_HOST: "127.0.0.1"
KUBERNETES_SERVICE_PORT: "{{ kube_apiserver_port }}"
{%- else %}
KUBERNETES_SERVICE_HOST: "{{ first_kube_master }}"
KUBERNETES_SERVICE_HOST: "{{ first_kube_control_plane }}"
KUBERNETES_SERVICE_PORT: "{{ kube_apiserver_port }}"
{%- endif %}
{% endif %}