I’m looking to relocate the kubelet root-dir from /var/lib/kubelet to somewhere with more space on my nodes, but what all happens if I add this to the cluster.yaml?
kubelet:
extra_args:
root-dir: /data/kubelet
extra_binds:
- '/data/kubelet:/data/kubelet:shared,z'
I’ve experimented on a spare cluster and it works through the usual cluster reconfig procedure, cordoning nodes one at a time. On the nodes I can see a dir structure under /data/kubelet. No pods restarted that I can tell. Did it move data from the old dir to the new? Can I make this change on a real cluster and expect all the pods to keep running fine?