updated all instances of restart always to restart on-failure with a max of 5 times

This commit is contained in:
Spencer Smith
2016-11-18 14:33:22 -05:00
parent a5af87758a
commit 0eebe43c08
3 changed files with 3 additions and 3 deletions

View File

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