mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
In example unit file, run the scheduler as kube, not root
Only the kubelet and proxy do things which need root privs
This commit is contained in:
parent
3155cad475
commit
9f666969df
@ -6,6 +6,7 @@ Documentation=https://github.com/GoogleCloudPlatform/kubernetes
|
||||
EnvironmentFile=-/etc/kubernetes/config
|
||||
EnvironmentFile=-/etc/kubernetes/apiserver
|
||||
EnvironmentFile=-/etc/kubernetes/scheduler
|
||||
User=kube
|
||||
ExecStart=/usr/bin/kube-scheduler \
|
||||
${KUBE_LOGTOSTDERR} \
|
||||
${KUBE_LOG_LEVEL} \
|
||||
|
Loading…
Reference in New Issue
Block a user