Do not run kubeadm upgrade on first deploy (#5339)
Change-Id: I68a962a9dd28c83ef07eaeaf53eb98287f38bca9pull/5341/head
parent
4f70da2731
commit
8b67159239
|
@ -159,16 +159,18 @@
|
|||
- kubeadm_token
|
||||
|
||||
- name: kubeadm | Initialize other masters (experimental control plane)
|
||||
include: kubeadm-secondary-experimental.yml
|
||||
include_tasks: kubeadm-secondary-experimental.yml
|
||||
when: kubeadm_control_plane
|
||||
|
||||
- name: kubeadm | Initialize other masters (experimental control plane)
|
||||
include: kubeadm-secondary-legacy.yml
|
||||
include_tasks: kubeadm-secondary-legacy.yml
|
||||
when: not kubeadm_control_plane
|
||||
|
||||
- name: kubeadm | upgrade kubernetes cluster
|
||||
import_tasks: kubeadm-upgrade.yml
|
||||
when: upgrade_cluster_setup
|
||||
include_tasks: kubeadm-upgrade.yml
|
||||
when:
|
||||
- upgrade_cluster_setup
|
||||
- kubeadm_already_run.stat.exists
|
||||
|
||||
- name: kubeadm | Check serviceaccount key again
|
||||
stat:
|
||||
|
|
Loading…
Reference in New Issue