mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Set kubelet user home directory to /var/lib/kubelet
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.
This commit is contained in:
parent
a21cec0fc4
commit
bc11e8c57b
@ -93,7 +93,7 @@ kubelet:
|
||||
- system: True
|
||||
- gid_from_name: True
|
||||
- shell: /sbin/nologin
|
||||
- home: /var/kubelet
|
||||
- home: /var/lib/kubelet
|
||||
- groups:
|
||||
- docker
|
||||
- require:
|
||||
|
Loading…
Reference in New Issue
Block a user