Merge pull request #23491 from onorua/master

set KillMode for kubelet to process, fix for #13511
This commit is contained in:
Jeff Lowdermilk 2016-04-08 16:39:32 -07:00
commit e17213a2a8
6 changed files with 7 additions and 1 deletions

View File

@ -76,6 +76,7 @@ coreos:
--container-runtime=${KUBERNETES_CONTAINER_RUNTIME}
Restart=always
RestartSec=10
KillMode=process
- name: kube-proxy.service
command: start

View File

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

View File

@ -135,6 +135,7 @@ coreos:
--reconcile-cidr=false
Restart=always
RestartSec=10
KillMode=process
- name: docker.service
drop-ins:

View File

@ -112,6 +112,7 @@ coreos:
--configure-cbr0=${KUBERNETES_CONFIGURE_CBR0}
Restart=always
RestartSec=10
KillMode=process
- name: kube-proxy.service
command: start

View File

@ -159,6 +159,7 @@ coreos:
--v=2
Restart=always
RestartSec=5
KillMode=process
- name: kube-proxy.service
command: start
content: |

View File

@ -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
WantedBy=multi-user.target