Microk8s Maintenance

Hi,
Our Microk8s cluster has more and more operating workloads. I would like to make sure that security updates and upgrades are correctly applied.
I looked at the docs but didn’t find info about this topic.
Could you advice on how to maintain a Microk8s cluster ?
Thanks a lot
GB

Hi,

Security updates are applied transparently when they become available from upstream. You can schedule when such updates will reach you, see [1].

For long lasting deployments it is also recommended to install MicroK8s from a specific channel eg sudo snap install microk8s --classic --channel=1.18/stable. This way you will not be affected by minor version updates (eg from 1.18 to 1.19) that may include breaking changes such as the removal of deprecated APIs.

[1] https://snapcraft.io/docs/keeping-snaps-up-to-date

Thank you very much.
GB