Commit 0bfc4964 authored by Yaroslav Molocko's avatar Yaroslav Molocko
parent 48ba29f6
...@@ -76,6 +76,7 @@ coreos: ...@@ -76,6 +76,7 @@ coreos:
--container-runtime=${KUBERNETES_CONTAINER_RUNTIME} --container-runtime=${KUBERNETES_CONTAINER_RUNTIME}
Restart=always Restart=always
RestartSec=10 RestartSec=10
KillMode=process
- name: kube-proxy.service - name: kube-proxy.service
command: start command: start
......
...@@ -65,6 +65,7 @@ Requires=docker.service ...@@ -65,6 +65,7 @@ Requires=docker.service
EnvironmentFile=-/opt/kubernetes/cfg/kubelet EnvironmentFile=-/opt/kubernetes/cfg/kubelet
ExecStart=/opt/kubernetes/bin/kubelet ${KUBE_PROXY_OPTS} ExecStart=/opt/kubernetes/bin/kubelet ${KUBE_PROXY_OPTS}
Restart=on-failure Restart=on-failure
KillMode=process
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
......
...@@ -135,6 +135,7 @@ coreos: ...@@ -135,6 +135,7 @@ coreos:
--reconcile-cidr=false --reconcile-cidr=false
Restart=always Restart=always
RestartSec=10 RestartSec=10
KillMode=process
- name: docker.service - name: docker.service
drop-ins: drop-ins:
......
...@@ -112,6 +112,7 @@ coreos: ...@@ -112,6 +112,7 @@ coreos:
--configure-cbr0=${KUBERNETES_CONFIGURE_CBR0} --configure-cbr0=${KUBERNETES_CONFIGURE_CBR0}
Restart=always Restart=always
RestartSec=10 RestartSec=10
KillMode=process
- name: kube-proxy.service - name: kube-proxy.service
command: start command: start
......
...@@ -159,6 +159,7 @@ coreos: ...@@ -159,6 +159,7 @@ coreos:
--v=2 --v=2
Restart=always Restart=always
RestartSec=5 RestartSec=5
KillMode=process
- name: kube-proxy.service - name: kube-proxy.service
command: start command: start
content: | content: |
......
...@@ -6,6 +6,7 @@ Documentation=https://github.com/kubernetes/kubernetes ...@@ -6,6 +6,7 @@ Documentation=https://github.com/kubernetes/kubernetes
EnvironmentFile=/etc/sysconfig/kubelet EnvironmentFile=/etc/sysconfig/kubelet
ExecStart=/usr/local/bin/kubelet "$DAEMON_ARGS" ExecStart=/usr/local/bin/kubelet "$DAEMON_ARGS"
Restart=always Restart=always
KillMode=process
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment