From 2bb83511a70846bd5a92e60b837e7465d211cfe6 Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Tue, 29 Mar 2016 19:19:05 -0700 Subject: [PATCH] fix(e2e): check to see if hyperkube is running --- scripts/kube-up.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/kube-up.sh b/scripts/kube-up.sh index 40ce321f2..88661857f 100755 --- a/scripts/kube-up.sh +++ b/scripts/kube-up.sh @@ -65,6 +65,10 @@ setup_iptables() { start_kubernetes() { echo "Getting the party going..." + if docker ps --filter "name=helm_kubelet" >/dev/null; then + error_exit "Kubernetes already running" + fi + docker run \ --name=helm_kubelet \ --volume=/:/rootfs:ro \