File tree Expand file tree Collapse file tree
docs/modules/trino/examples/getting_started/code Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,6 +48,17 @@ exit 1
4848;;
4949esac
5050
51+ # TODO: Remove once https://github.com/stackabletech/issues/issues/828 has been
52+ # implemented (see that issue for details).
53+ until kubectl get crd trinoclusters.trino.stackable.tech > /dev/null 2>&1 ; do
54+ echo " Waiting for CRDs to be installed"
55+ sleep 1
56+ done
57+ until kubectl get crd trinocatalogs.trino.stackable.tech > /dev/null 2>&1 ; do
58+ echo " Waiting for CRDs to be installed"
59+ sleep 1
60+ done
61+
5162echo " Installing Trino cluster from trino.yaml"
5263# tag::install-trino[]
5364kubectl apply -f trino.yaml
Original file line number Diff line number Diff line change @@ -48,6 +48,17 @@ exit 1
4848;;
4949esac
5050
51+ # TODO: Remove once https://github.com/stackabletech/issues/issues/828 has been
52+ # implemented (see that issue for details).
53+ until kubectl get crd trinoclusters.trino.stackable.tech > /dev/null 2>&1 ; do
54+ echo " Waiting for CRDs to be installed"
55+ sleep 1
56+ done
57+ until kubectl get crd trinocatalogs.trino.stackable.tech > /dev/null 2>&1 ; do
58+ echo " Waiting for CRDs to be installed"
59+ sleep 1
60+ done
61+
5162echo " Installing Trino cluster from trino.yaml"
5263# tag::install-trino[]
5364kubectl apply -f trino.yaml
You can’t perform that action at this time.
0 commit comments