File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ function create_and_register() {
3131 cluster=$1
3232 kind create cluster --name $cluster
3333 wait-for-cmd ' [ $(kubectl --context kind-hub get ns open-cluster-management-hub -oname 2>/dev/null | wc -l) -eq 1 ]'
34- kubectl --context kind-hub -n open-cluster-management-hub wait --for=condition=available deploy cluster-manager-registration-controller --timeout=60s
35- kubectl --context kind-hub -n open-cluster-management-hub wait --for=condition=available deploy cluster-manager-registration-webhook --timeout=60s
34+ kubectl --context kind-hub -n open-cluster-management-hub wait --for=condition=available deploy cluster-manager-registration-controller --timeout=120s
35+ kubectl --context kind-hub -n open-cluster-management-hub wait --for=condition=available deploy cluster-manager-registration-webhook --timeout=120s
3636 clusteradm --context kind-hub get token | grep ' ^clusteradm join' | sed " s/<cluster_name>/${cluster} /" | awk ' {print $0 " --context ' kind-${cluster} ' --force-internal-endpoint-lookup"}' | sh
3737}
3838create_and_register cluster1
You can’t perform that action at this time.
0 commit comments