From a4376c9ddd4e3b1dbd5814a6ab393ff43d551609 Mon Sep 17 00:00:00 2001 From: Spencer Smith Date: Thu, 17 Nov 2016 12:03:41 -0500 Subject: [PATCH] add restart flag for docker run kubelet --- roles/kubernetes/node/templates/kubelet-container.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/node/templates/kubelet-container.j2 b/roles/kubernetes/node/templates/kubelet-container.j2 index 2fcc7307f..ad26a9107 100644 --- a/roles/kubernetes/node/templates/kubelet-container.j2 +++ b/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 \