mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-02 06:47:34 +00:00
The kubelet user does not have permissions to create directories in /var/lib. This sets the home directory to /var/lib/kubelet so that the directory is made prior to running the kubelet. This matches the default root directory path (/var/lib/kubelet) and allows kubelet to us that directory.