Customize the Kubelet Root Directory¶
Warning
The default kubelet directory is /var/lib/kubelet. If your Kubernetes distribution uses a different kubelet directory, you must set the parameter kubeletRootDir.
For example, if using Canonical's MicroK8s, the kubelet directory is /var/snap/microk8s/common/var/lib/kubelet/.
-
To modify the
kubeletRootDirparameter through the interface operation, go toGlobal Settings->Kubelet Root Dir, and set the parameter to/var/snap/microk8s/common/var/lib/kubelet/. For details, refer to the Create via UI documentation. -
If deploying with Helm, run the following installation command.