Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions docs/modules/hdfs/examples/getting_started/getting_started.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ then
exit 1
fi

echo "Waiting for node(s) to be ready..."
kubectl wait node --all --for=condition=Ready --timeout=120s

cd "$(dirname "$0")"

case "$1" in
Expand Down Expand Up @@ -45,6 +48,10 @@ exit 1
;;
esac

# As of SDP 26.3 CRDs are managed by the operator not helm, so there should be an initial delay
# to allow the CRDs to be detected
sleep 10

Comment thread
adwk67 marked this conversation as resolved.
Outdated
echo "Creating Zookeeper cluster"
# tag::install-zk[]
kubectl apply -f zk.yaml
Expand All @@ -55,8 +62,6 @@ echo "Creating ZNode"
kubectl apply -f znode.yaml
# end::install-zk[]



for (( i=1; i<=15; i++ ))
do
echo "Waiting for ZookeeperCluster to appear ..."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ then
exit 1
fi

echo "Waiting for node(s) to be ready..."
kubectl wait node --all --for=condition=Ready --timeout=120s

cd "$(dirname "$0")"

case "$1" in
Expand Down Expand Up @@ -45,6 +48,10 @@ exit 1
;;
esac

# As of SDP 26.3 CRDs are managed by the operator not helm, so there should be an initial delay
# to allow the CRDs to be detected
sleep 10

echo "Creating Zookeeper cluster"
# tag::install-zk[]
kubectl apply -f zk.yaml
Expand All @@ -55,8 +62,6 @@ echo "Creating ZNode"
kubectl apply -f znode.yaml
# end::install-zk[]



for (( i=1; i<=15; i++ ))
do
echo "Waiting for ZookeeperCluster to appear ..."
Expand Down
Loading