Commit e17213a2 authored by Jeff Lowdermilk's avatar Jeff Lowdermilk

Merge pull request #23491 from onorua/master

set KillMode for kubelet to process, fix for #13511
parents 3a1767fd 0bfc4964
......@@ -76,6 +76,7 @@ coreos:
--container-runtime=${KUBERNETES_CONTAINER_RUNTIME}
Restart=always
RestartSec=10
KillMode=process
- name: kube-proxy.service
command: start
......
......@@ -65,6 +65,7 @@ Requires=docker.service
EnvironmentFile=-/opt/kubernetes/cfg/kubelet
ExecStart=/opt/kubernetes/bin/kubelet ${KUBE_PROXY_OPTS}
Restart=on-failure
KillMode=process
[Install]
WantedBy=multi-user.target
......
......@@ -135,6 +135,7 @@ coreos:
--reconcile-cidr=false
Restart=always
RestartSec=10
KillMode=process
- name: docker.service
drop-ins:
......
......@@ -112,6 +112,7 @@ coreos:
--configure-cbr0=${KUBERNETES_CONFIGURE_CBR0}
Restart=always
RestartSec=10
KillMode=process
- name: kube-proxy.service
command: start
......
......@@ -159,6 +159,7 @@ coreos:
--v=2
Restart=always
RestartSec=5
KillMode=process
- name: kube-proxy.service
command: start
content: |
......
......@@ -6,6 +6,7 @@ Documentation=https://github.com/kubernetes/kubernetes
EnvironmentFile=/etc/sysconfig/kubelet
ExecStart=/usr/local/bin/kubelet "$DAEMON_ARGS"
Restart=always
KillMode=process
[Install]
WantedBy=multi-user.target
\ No newline at end of file
WantedBy=multi-user.target
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