Compare commits

...

2 Commits

3 changed files with 1 additions and 4 deletions

View File

@ -20,7 +20,7 @@ ssh worker1 bash -xs < k8s-ubuntu-install
# UPGRADE
## when upgrading point releases
export K8S_VERSION_CURRENT=$(kc version --short | awk '/^Server/{print substr($3,2)}')<br>
export K8S_VERSION_CURRENT=$(kubectl version --short | awk '/^Server/{print substr($3,2)}')<br>
export K8S_VERSION_LATEST=$(curl -sL https://dl.k8s.io/release/stable-${K8S_VERSION_CURRENT%.*}.txt)
## otherwise

View File

@ -10,5 +10,3 @@ sudo apt install -y kube{let,ctl}=${K8S_VERSION_LATEST#v}-00
sudo apt autoremove -y
sudo apt autoclean
sudo journalctl --vacuum-time=3d
#sudo docker image prune -af

View File

@ -10,4 +10,3 @@ sudo apt install -y kube{let,ctl}=${K8S_VERSION_LATEST#v}-00
sudo apt autoremove -y
sudo apt autoclean
sudo journalctl --vacuum-time=3d
#sudo docker image prune -af