From 4562863f75274992c93cd19508010ee1d8b496a8 Mon Sep 17 00:00:00 2001 From: George Angel Date: Sun, 8 Jul 2018 10:03:34 +0100 Subject: [PATCH] sys: fix container names Binaries have new names following the gcr image switch --- resources/master-kubelet.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/master-kubelet.service b/resources/master-kubelet.service index 89d0c24..0b4cd17 100644 --- a/resources/master-kubelet.service +++ b/resources/master-kubelet.service @@ -26,8 +26,8 @@ ExecStartPre=/usr/bin/mkdir -p /var/lib/calico ExecStartPre=/sbin/sysctl -w net.ipv4.tcp_retries2=8 ExecStartPre=/opt/bin/cfssl-sk-get ExecStartPre=/opt/bin/cfssl-new-cert -ExecStartPre=-/bin/sh -c "docker restart $(docker ps --no-trunc | grep '/hyperkube controller-manager' | awk '{ print $1; }')" -ExecStartPre=-/bin/sh -c "docker restart $(docker ps --no-trunc | grep '/hyperkube apiserver' | awk '{ print $1; }')" +ExecStartPre=-/bin/sh -c "docker restart $(docker ps --no-trunc | grep 'kube-controller-manager' | awk '{ print $1; }')" +ExecStartPre=-/bin/sh -c "docker restart $(docker ps --no-trunc | grep 'kube-apiserver' | awk '{ print $1; }')" ExecStartPre=-/usr/bin/rkt rm --uuid-file=/var/run/kubelet-pod.uuid ExecStart=/usr/lib/coreos/kubelet-wrapper \ --kubeconfig=/var/lib/kubelet/kubeconfig \