improve init script
This commit is contained in:
@ -70,7 +70,9 @@ data:
|
|||||||
EOF
|
EOF
|
||||||
#6. Install Kind LoadBalancer
|
#6. Install Kind LoadBalancer
|
||||||
kubectl label node kind-control-plane node.kubernetes.io/exclude-from-external-load-balancers-
|
kubectl label node kind-control-plane node.kubernetes.io/exclude-from-external-load-balancers-
|
||||||
|
if [ ! -d "cloud-provider-kind" ]; then
|
||||||
git clone https://github.com/kubernetes-sigs/cloud-provider-kind.git
|
git clone https://github.com/kubernetes-sigs/cloud-provider-kind.git
|
||||||
|
fi
|
||||||
docker compose -f manifests/kind-cloud-provider.yaml up -d
|
docker compose -f manifests/kind-cloud-provider.yaml up -d
|
||||||
#7. Install Ingress
|
#7. Install Ingress
|
||||||
kubectl apply -f manifests/ingress.yaml
|
kubectl apply -f manifests/ingress.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user