canonical/microk8s

Depricated warnings in journalctl

Opened this issue · 0 comments

I'm seeing lots of deprecated warnings from microk8s in my journalctl logs.

microk8s.daemon-kubelite[137407]: Flag --containerd has been deprecated, This is a cadvisor flag that was mistakenly registered with the Kubelet. Due to legacy concerns, it will follow the standard CLI deprecation timeline before being removed.

Flag --authentication-token-webhook has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See [Set Kubelet Parameters Via A Configuration File](https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/) for more information.

Flag --read-only-port has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See [Set Kubelet Parameters Via A Configuration File](https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/) for more information.

Any idea what these warnings are and how to fix these?
Im using 1.30 verion installed with sudo snap install microk8s --classic --channel=1.30/stable