File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -364,7 +364,7 @@ create-workload-cluster: $(ENVSUBST) $(KUBECTL) ## Create a workload cluster.
364364 timeout --foreground 1800 bash -c "while ! $(KUBECTL) get secrets -n default | grep $(CLUSTER_NAME)-kubeconfig; do sleep 1; done"
365365 # Get kubeconfig and store it locally.
366366 $(KUBECTL) get secret/$(CLUSTER_NAME)-kubeconfig -n default -o json | jq -r .data.value | base64 --decode > ./kubeconfig
367- $(KUBECTL) -n default wait --for=condition=Ready --timeout=10m cluster "$(CLUSTER_NAME)"
367+ $(KUBECTL) -n default wait --for=condition=Ready --timeout=60m cluster "$(CLUSTER_NAME)"
368368
369369 @echo 'run "$(KUBECTL) --kubeconfig=./kubeconfig ..." to work with the new target cluster'
370370
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ make envsubst
2828
2929export REGISTRY=" ${REGISTRY:- registry.local/ fake} "
3030
31- export CLUSTER_CREATE_ATTEMPTS=" ${CLUSTER_CREATE_ATTEMPTS :- 3} "
31+ export CLUSTER_CREATE_ATTEMPTS=" 1 "
3232
3333# Cluster settings.
3434export CLUSTER_NAME=" ${CLUSTER_NAME:- capz-test} "
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ if [[ ! "${CLUSTER_TEMPLATE}" =~ "aks" ]]; then
261261 install_addons
262262fi
263263
264- " ${KUBECTL} " --kubeconfig " ${REPO_ROOT} /${KIND_CLUSTER_NAME} .kubeconfig" wait -A --for=condition=Ready --timeout=10m -l " cluster.x-k8s.io/cluster-name=${CLUSTER_NAME} " machinedeployments,machinepools
264+ " ${KUBECTL} " --kubeconfig " ${REPO_ROOT} /${KIND_CLUSTER_NAME} .kubeconfig" wait -A --for=condition=Ready --timeout=60m -l " cluster.x-k8s.io/cluster-name=${CLUSTER_NAME} " machinedeployments,machinepools
265265
266266echo " Cluster ${CLUSTER_NAME} created and fully operational"
267267
You can’t perform that action at this time.
0 commit comments