Difference between revisions of "Microk8s Upgrade Nodes"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
ssh kub3 | ssh kub3 | ||
``` | ``` | ||
− | sudo snap refresh microk8s --channel=1. | + | sudo snap refresh microk8s --channel=1.23/stable |
``` | ``` | ||
Revision as of 14:50, 11 April 2022
On each node
sudo microk8s.kubectl get nodes
sudo microk8s kubectl drain kub3 --ignore-daemonsets # --force --delete-emptydir-data
ssh kub3
sudo snap refresh microk8s --channel=1.23/stable
sudo microk8s.kubectl get nodes
If you want to update kernel
sudo apt update && sudo apt -y upgrade reboot
sudo microk8s kubectl uncordon k3