diff --git a/init_cluster..sh b/init_cluster..sh index 77074fc..cabf2c2 100755 --- a/init_cluster..sh +++ b/init_cluster..sh @@ -70,7 +70,9 @@ data: EOF #6. Install Kind LoadBalancer kubectl label node kind-control-plane node.kubernetes.io/exclude-from-external-load-balancers- -git clone https://github.com/kubernetes-sigs/cloud-provider-kind.git +if [ ! -d "cloud-provider-kind" ]; then + git clone https://github.com/kubernetes-sigs/cloud-provider-kind.git +fi docker compose -f manifests/kind-cloud-provider.yaml up -d #7. Install Ingress kubectl apply -f manifests/ingress.yaml