Browse Source

add restart flag for docker run kubelet

pull/627/head
Spencer Smith 8 years ago
parent
commit
ff928e0e66
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes/node/templates/kubelet-container.j2

2
roles/kubernetes/node/templates/kubelet-container.j2

@ -1,6 +1,6 @@
#!/bin/bash
/usr/bin/docker run --privileged --rm \
--net=host --pid=host --name=kubelet \
--net=host --pid=host --name=kubelet --restart=always \
-v /etc/cni:/etc/cni:ro \
-v /opt/cni:/opt/cni:ro \
-v /etc/kubernetes:/etc/kubernetes \

Loading…
Cancel
Save