Updating to k8s 1.21

This commit is contained in:
Moritz Graf
2022-10-09 13:31:36 +02:00
parent 83417b8c26
commit 42afa26f89
12 changed files with 9 additions and 239 deletions
+1 -2
View File
@@ -6,7 +6,7 @@
echo "######################################################################################"
echo "## Reinit repository"
rm -rf kubespray
VERSION=${1:-release-2.17}
VERSION=${1:-release-2.19}
git clone --branch $VERSION https://github.com/kubernetes-sigs/kubespray.git
echo "######################################################################################"
@@ -47,7 +47,6 @@ rsync -a ./inventory/ ./kubespray/inventory/
echo "## * changing into kubespray dir"
cd kubespray
echo "## * execute the following command to force new settings"
echo "ansible-playbook -i inventory/prod/inventory.ini mitogen.yml &&"
echo "ansible-playbook -i inventory/prod/inventory.ini -e upgrade_cluster_setup=true cluster.yml"
# cp -r kubespray/inventory/sample kubespray/inventory/prod