Difference between revisions of "Microk8s Upgrade Nodes"
Jump to navigation
Jump to search
Line 28: | Line 28: | ||
``` | ``` | ||
sudo microk8s kubectl uncordon k3 | sudo microk8s kubectl uncordon k3 | ||
+ | ``` | ||
+ | |||
+ | Hostpath | ||
+ | ``` | ||
+ | sudo microk8s disable ingress && sudo microk8s enable ingress | ||
``` | ``` |
Revision as of 02:35, 6 May 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
Hostpath
sudo microk8s disable ingress && sudo microk8s enable ingress