Skip to content
Snippets Groups Projects
Commit ac00d23b authored by Matthew Mosesohn's avatar Matthew Mosesohn Committed by k8s-ci-robot
Browse files

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

parent 9ae2eefb
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment