File tree Expand file tree Collapse file tree
docs/modules/hdfs/examples/getting_started Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 exit 1
1616fi
1717
18+ echo " Waiting for node(s) to be ready..."
19+ kubectl wait node --all --for=condition=Ready --timeout=120s
20+
1821cd " $( dirname " $0 " ) "
1922
2023case " $1 " in
@@ -45,6 +48,10 @@ exit 1
4548;;
4649esac
4750
51+ # As of SDP 26.3 CRDs are managed by the operator not helm, so there should be an initial delay
52+ # to allow the CRDs to be detected
53+ sleep 10
54+
4855echo " Creating Zookeeper cluster"
4956# tag::install-zk[]
5057kubectl apply -f zk.yaml
@@ -55,8 +62,6 @@ echo "Creating ZNode"
5562kubectl apply -f znode.yaml
5663# end::install-zk[]
5764
58-
59-
6065for (( i= 1 ; i<= 15 ; i++ ))
6166do
6267 echo " Waiting for ZookeeperCluster to appear ..."
Original file line number Diff line number Diff line change 1515 exit 1
1616fi
1717
18+ echo " Waiting for node(s) to be ready..."
19+ kubectl wait node --all --for=condition=Ready --timeout=120s
20+
1821cd " $( dirname " $0 " ) "
1922
2023case " $1 " in
@@ -45,6 +48,10 @@ exit 1
4548;;
4649esac
4750
51+ # As of SDP 26.3 CRDs are managed by the operator not helm, so there should be an initial delay
52+ # to allow the CRDs to be detected
53+ sleep 10
54+
4855echo " Creating Zookeeper cluster"
4956# tag::install-zk[]
5057kubectl apply -f zk.yaml
@@ -55,8 +62,6 @@ echo "Creating ZNode"
5562kubectl apply -f znode.yaml
5663# end::install-zk[]
5764
58-
59-
6065for (( i= 1 ; i<= 15 ; i++ ))
6166do
6267 echo " Waiting for ZookeeperCluster to appear ..."
You can’t perform that action at this time.
0 commit comments