From 2cee94af98253c8d113cd1004a05cddc5ede34cd Mon Sep 17 00:00:00 2001 From: Isah Idris Date: Thu, 15 May 2025 18:07:30 +0100 Subject: [PATCH] fixed cluster failure creation for existing cluster --- setup/00-intro.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/00-intro.sh b/setup/00-intro.sh index 49111a0a..ad741fa9 100755 --- a/setup/00-intro.sh +++ b/setup/00-intro.sh @@ -42,7 +42,7 @@ rm -f .env # Control Plane Cluster # ######################### -kind create cluster --config kind.yaml +kind get clusters | grep -q "kind" || kind create cluster --config kind.yaml kubectl apply \ --filename https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml