--data-dir doesn't change kubelet location #3802
-
Environmental Info: Node(s) CPU architecture, OS, and Version: Cluster Configuration: Describe the bug: Steps To Reproduce:
Expected behavior: Actual behavior: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This is by design. Many components (CNI/CSI plugins, daemonsets, etc) only function properly if the default kubelet path is used. Previous releases of k3s nested /var/lib/kubelet within the k3 data-dir, but this caused so many issues that we had to move it back to the default. |
Beta Was this translation helpful? Give feedback.
-
I was surprised by this, too. Please see this and following comments for how to move the kubelet root directory and further information about this topic: #1358 (comment) As mentioned by @brandond, this may have surprising side effects. Use at your own risk! |
Beta Was this translation helpful? Give feedback.
I was surprised by this, too. Please see this and following comments for how to move the kubelet root directory and further information about this topic: #1358 (comment)
As mentioned by @brandond, this may have surprising side effects. Use at your own risk!