File tree Expand file tree Collapse file tree 3 files changed +19
-9
lines changed
modules/spark-k8s/examples/getting_started Expand file tree Collapse file tree 3 files changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -22,20 +22,23 @@ echo "Adding 'stackable-dev' Helm Chart repository"
22
22
# tag::helm-add-repo[]
23
23
helm repo add stackable-dev https://repo.stackable.tech/repository/helm-dev/
24
24
# end::helm-add-repo[]
25
+ echo " Updating Helm repo"
26
+ helm repo update
27
+
25
28
echo " Installing Operators with Helm"
26
29
# tag::helm-install-operators[]
27
- helm install --wait commons-operator stackable-dev/commons-operator --version 0.5 .0-nightly
28
- helm install --wait secret-operator stackable-dev/secret-operator --version 0.7 .0-nightly
29
- helm install --wait spark-k8s-operator stackable-dev/spark-k8s-operator --version 0.7 .0-nightly
30
+ helm install --wait commons-operator stackable-dev/commons-operator --version 0.0 .0-dev
31
+ helm install --wait secret-operator stackable-dev/secret-operator --version 0.0 .0-dev
32
+ helm install --wait spark-k8s-operator stackable-dev/spark-k8s-operator --version 0.0 .0-dev
30
33
# end::helm-install-operators[]
31
34
;;
32
35
" stackablectl" )
33
36
echo " installing Operators with stackablectl"
34
37
# tag::stackablectl-install-operators[]
35
38
stackablectl operator install \
36
- commons=0.5 .0-nightly \
37
- secret=0.7 .0-nightly \
38
- spark-k8s=0.7 .0-nightly
39
+ commons=0.0 .0-dev \
40
+ secret=0.0 .0-dev \
41
+ spark-k8s=0.0 .0-dev
39
42
# end::stackablectl-install-operators[]
40
43
;;
41
44
* )
76
79
EOF
77
80
# end::install-sparkapp[]
78
81
82
+ sleep 15
83
+
79
84
echo " Waiting for job to complete ..."
80
85
# tag::wait-for-job[]
81
86
kubectl wait pods -l ' job-name=pyspark-pi' \
Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ echo "Adding '{{ helm.repo_name }}' Helm Chart repository"
22
22
# tag::helm-add-repo[]
23
23
helm repo add {{ helm.repo_name }} {{ helm.repo_url }}
24
24
# end::helm-add-repo[]
25
+ echo " Updating Helm repo"
26
+ helm repo update
27
+
25
28
echo " Installing Operators with Helm"
26
29
# tag::helm-install-operators[]
27
30
helm install --wait commons-operator {{ helm.repo_name }}/commons-operator --version {{ versions.commons }}
76
79
EOF
77
80
# end::install-sparkapp[]
78
81
82
+ sleep 15
83
+
79
84
echo " Waiting for job to complete ..."
80
85
# tag::wait-for-job[]
81
86
kubectl wait pods -l ' job-name=pyspark-pi' \
Original file line number Diff line number Diff line change 3
3
repo_name : stackable-dev
4
4
repo_url : https://repo.stackable.tech/repository/helm-dev/
5
5
versions :
6
- commons : 0.5 .0-nightly
7
- secret : 0.7 .0-nightly
8
- spark : 0.7 .0-nightly
6
+ commons : 0.0 .0-dev
7
+ secret : 0.0 .0-dev
8
+ spark : 0.0 .0-dev
You can’t perform that action at this time.
0 commit comments