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:
Eric Paris 2014-11-05 11:51:15 -05:00
parent 3155cad475
commit 9f666969df

View File

@ -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} \