Skip to content

Commit f0b48d2

Browse files
razvanfhennig
authored andcommitted
Update getting started guide to stable versions.
1 parent 8f860c4 commit f0b48d2

File tree

3 files changed

+24
-18
lines changed

3 files changed

+24
-18
lines changed

docs/modules/getting_started/examples/code/getting_started.sh

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@ fi
1616

1717
case "$1" in
1818
"helm")
19-
echo "Adding 'stackable-dev' Helm Chart repository"
19+
echo "Adding 'stackable-stable' Helm Chart repository"
2020
# 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/
2222
# end::helm-add-repo[]
2323
echo "Installing Operators with Helm"
2424
# 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
2828
# end::helm-install-operators[]
2929
;;
3030
"stackablectl")
3131
echo "installing Operators with stackablectl"
3232
# tag::stackablectl-install-operators[]
3333
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
3737
# end::stackablectl-install-operators[]
3838
;;
3939
*)
@@ -56,8 +56,14 @@ spec:
5656
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.2.0
5757
mode: cluster
5858
mainApplicationFile: local:///stackable/spark/examples/src/main/python/pi.py
59+
driver:
60+
cores: 1
61+
coreLimit: "1200m"
62+
memory: "512m"
5963
executor:
64+
cores: 1
6065
instances: 3
66+
memory: "512m"
6167
EOF
6268
# end::install-sparkapp[]
6369

docs/modules/getting_started/examples/code/getting_started.sh.j2

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ fi
1616

1717
case "$1" in
1818
"helm")
19-
echo "Adding 'stackable-dev' Helm Chart repository"
19+
echo "Adding '{{ helm.repo_name }}' Helm Chart repository"
2020
# 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 }}
2222
# end::helm-add-repo[]
2323
echo "Installing Operators with Helm"
2424
# 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 }}
2828
# end::helm-install-operators[]
2929
;;
3030
"stackablectl")

docs/templating_vars.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
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/
55
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

0 commit comments

Comments
 (0)