add restart flag for docker run kubelet

This commit is contained in:
Spencer Smith 2016-11-17 12:03:41 -05:00
parent 61adca2a6d
commit ff928e0e66

View file

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