Yaroslav Molocko 2016-03-25 22:29:09 +08:00
parent 48ba29f680
commit 0bfc496496
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