File tree Expand file tree Collapse file tree 3 files changed +24
-18
lines changed
modules/getting_started/examples/code Expand file tree Collapse file tree 3 files changed +24
-18
lines changed Original file line number Diff line number Diff line change 16
16
17
17
case " $1 " in
18
18
" helm" )
19
- echo " Adding 'stackable-dev ' Helm Chart repository"
19
+ echo " Adding 'stackable-stable ' Helm Chart repository"
20
20
# tag::helm-add-repo[]
21
- helm repo add stackable-dev https://repo.stackable.tech/repository/helm-dev /
21
+ helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable /
22
22
# end::helm-add-repo[]
23
23
echo " Installing Operators with Helm"
24
24
# tag::helm-install-operators[]
25
- helm install --wait commons-operator stackable-dev /commons-operator --version 0.4.0-nightly
26
- helm install --wait secret-operator stackable-dev /secret-operator --version 0.6.0-nightly
27
- helm install --wait spark-k8s-operator stackable-dev /spark-k8s-operator --version 0.6.0-nightly
25
+ helm install --wait commons-operator stackable-stable /commons-operator --version 0.4.0
26
+ helm install --wait secret-operator stackable-stable /secret-operator --version 0.6.0
27
+ helm install --wait spark-k8s-operator stackable-stable /spark-k8s-operator --version 0.6.0
28
28
# end::helm-install-operators[]
29
29
;;
30
30
" stackablectl" )
31
31
echo " installing Operators with stackablectl"
32
32
# tag::stackablectl-install-operators[]
33
33
stackablectl operator install \
34
- commons=0.4.0-nightly \
35
- secret=0.6.0-nightly \
36
- spark-k8s=0.6.0-nightly
34
+ commons=0.4.0 \
35
+ secret=0.6.0 \
36
+ spark-k8s=0.6.0
37
37
# end::stackablectl-install-operators[]
38
38
;;
39
39
* )
56
56
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.2.0
57
57
mode: cluster
58
58
mainApplicationFile: local:///stackable/spark/examples/src/main/python/pi.py
59
+ driver:
60
+ cores: 1
61
+ coreLimit: "1200m"
62
+ memory: "512m"
59
63
executor:
64
+ cores: 1
60
65
instances: 3
66
+ memory: "512m"
61
67
EOF
62
68
# end::install-sparkapp[]
63
69
Original file line number Diff line number Diff line change 16
16
17
17
case " $1 " in
18
18
" helm" )
19
- echo " Adding 'stackable-dev ' Helm Chart repository"
19
+ echo " Adding '{{ helm.repo_name }} ' Helm Chart repository"
20
20
# tag::helm-add-repo[]
21
- helm repo add stackable-dev https://repo.stackable.tech/repository/ helm-dev/
21
+ helm repo add {{ helm.repo_name }} {{ helm.repo_url }}
22
22
# end::helm-add-repo[]
23
23
echo " Installing Operators with Helm"
24
24
# tag::helm-install-operators[]
25
- helm install --wait commons-operator stackable-dev /commons-operator --version {{ versions.commons }}
26
- helm install --wait secret-operator stackable-dev /secret-operator --version {{ versions.secret }}
27
- helm install --wait spark-k8s-operator stackable-dev /spark-k8s-operator --version {{ versions.spark }}
25
+ helm install --wait commons-operator {{ helm.repo_name }} /commons-operator --version {{ versions.commons }}
26
+ helm install --wait secret-operator {{ helm.repo_name }} /secret-operator --version {{ versions.secret }}
27
+ helm install --wait spark-k8s-operator {{ helm.repo_name }} /spark-k8s-operator --version {{ versions.spark }}
28
28
# end::helm-install-operators[]
29
29
;;
30
30
" stackablectl" )
Original file line number Diff line number Diff line change 1
1
---
2
2
helm :
3
- repo_name : stackable-dev
4
- repo_url : https://repo.stackable.tech/repository/helm-dev /
3
+ repo_name : stackable-stable
4
+ repo_url : https://repo.stackable.tech/repository/helm-stable /
5
5
versions :
6
- commons : 0.4.0-nightly
7
- secret : 0.6.0-nightly
8
- spark : 0.6.0-nightly
6
+ commons : 0.4.0
7
+ secret : 0.6.0
8
+ spark : 0.6.0
You can’t perform that action at this time.
0 commit comments