Skip etcd upgrade steps in kubeadm because it is not used (#3737)

This commit is contained in:
Matthew Mosesohn 2018-11-19 17:29:58 +03:00 committed by k8s-ci-robot
parent 9ae2eefb9a
commit ac00d23b80

View file

@ -128,6 +128,7 @@
--ignore-preflight-errors=all
--allow-experimental-upgrades
--allow-release-candidate-upgrades
--etcd-upgrade=false
--force
register: kubeadm_upgrade
# Retry is because upload config sometimes fails
@ -195,6 +196,7 @@
--ignore-preflight-errors=all
--allow-experimental-upgrades
--allow-release-candidate-upgrades
--etcd-upgrade=false
register: kubeadm_upgrade
when: inventory_hostname != groups['kube-master']|first and (kubeadm_config.changed and kubeadm_already_run.stat.exists)
failed_when: kubeadm_upgrade.rc != 0 and "field is immutable" not in kubeadm_upgrade.stderr