mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 05:30:26 +00:00
Some image based OS do not allow writing to /. Since the kubelet looks for .dockercfg files in the working dir and uses / as the working dir, this means one can never set a .dockercfg on those distros. This moves the kubelet working dir to /var/lib/kubelet, where the kubelet naturally does its work.