Difference between revisions of "Microk8s Upgrade Nodes"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
``` | ``` | ||
+ | If you want to update kernel | ||
+ | ``` | ||
+ | sudo apt update && sudo apt -y upgrade | ||
+ | reboot | ||
+ | ``` | ||
``` | ``` | ||
sudo microk8s kubectl uncordon k3 | sudo microk8s kubectl uncordon k3 | ||
``` | ``` |
Revision as of 14:32, 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.21/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