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
|
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=ADDRESS=127.0.0.1
|
Environment=KUBELET_OPTS=
|
||||||
Environment=API_SERVERS=http://127.0.0.1:8080
|
|
||||||
Environment=ALLOW_PRIVILEGED=false
|
|
||||||
Environment=CONFIG=/etc/kubernetes/manifests
|
|
||||||
Environment=LOGGING=2
|
|
||||||
|
|
||||||
ExecStart=/usr/bin/kubelet \
|
ExecStart=/usr/bin/kubelet \
|
||||||
--address=${ADDRESS} \
|
--address=127.0.0.1 \
|
||||||
--api-servers=${API_SERVERS} \
|
--api-servers=http://127.0.0.1:8080 \
|
||||||
--allow-privileged=${ALLOW_PRIVILEGED} \
|
--allow-privileged=false \
|
||||||
--config=${CONFIG} \
|
--config=/etc/kubernetes/manifests \
|
||||||
--v=${LOGGING}
|
--v=2 \
|
||||||
|
--cadvisor-port=0 \
|
||||||
|
${KUBELET_OPTS}
|
||||||
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user