Use "kubeadm join" to join masters to control plane (#6661)

Remove configuration variable kubeadm_control_plane
This commit is contained in:
Hans Feldt
2020-09-17 13:34:45 +02:00
committed by GitHub
parent 0cc5e3ef03
commit 6da385de9d
12 changed files with 2 additions and 70 deletions

View File

@@ -199,13 +199,8 @@
tags:
- kubeadm_token
- name: kubeadm | Initialize other masters (experimental control plane)
include_tasks: kubeadm-secondary-experimental.yml
when: kubeadm_control_plane
- name: kubeadm | Initialize other masters (legacy not control plane)
include_tasks: kubeadm-secondary-legacy.yml
when: not kubeadm_control_plane
- name: kubeadm | Join other masters
include_tasks: kubeadm-secondary.yml
- name: kubeadm | upgrade kubernetes cluster
include_tasks: kubeadm-upgrade.yml