mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 06:51:26 +02:00
app-admin/kubelet: update with better defaults
This commit is contained in:
parent
df752e6d04
commit
8557c47623
@ -3,18 +3,16 @@ Description=Kubernetes Kubelet
|
||||
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
|
||||
|
||||
[Service]
|
||||
Environment=ADDRESS=127.0.0.1
|
||||
Environment=API_SERVERS=http://127.0.0.1:8080
|
||||
Environment=ALLOW_PRIVILEGED=false
|
||||
Environment=CONFIG=/etc/kubernetes/manifests
|
||||
Environment=LOGGING=2
|
||||
Environment=KUBELET_OPTS=
|
||||
|
||||
ExecStart=/usr/bin/kubelet \
|
||||
--address=${ADDRESS} \
|
||||
--api-servers=${API_SERVERS} \
|
||||
--allow-privileged=${ALLOW_PRIVILEGED} \
|
||||
--config=${CONFIG} \
|
||||
--v=${LOGGING}
|
||||
--address=127.0.0.1 \
|
||||
--api-servers=http://127.0.0.1:8080 \
|
||||
--allow-privileged=false \
|
||||
--config=/etc/kubernetes/manifests \
|
||||
--v=2 \
|
||||
--cadvisor-port=0 \
|
||||
${KUBELET_OPTS}
|
||||
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
Loading…
x
Reference in New Issue
Block a user