Skip to content

Commit 9416378

Browse files
authored
chore: Update helm install commands (#563)
1 parent 0f394f1 commit 9416378

File tree

5 files changed

+12
-30
lines changed

5 files changed

+12
-30
lines changed

docs/modules/spark-k8s/examples/getting_started/getting_started.sh

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,12 @@ cd "$(dirname "$0")"
2121

2222
case "$1" in
2323
"helm")
24-
echo "Adding 'stackable-dev' Helm Chart repository"
25-
# tag::helm-add-repo[]
26-
helm repo add stackable-dev https://repo.stackable.tech/repository/helm-dev/
27-
# end::helm-add-repo[]
28-
echo "Updating Helm repo"
29-
helm repo update
30-
3124
echo "Installing Operators with Helm"
3225
# tag::helm-install-operators[]
33-
helm install --wait commons-operator stackable-dev/commons-operator --version 0.0.0-dev
34-
helm install --wait secret-operator stackable-dev/secret-operator --version 0.0.0-dev
35-
helm install --wait listener-operator stackable-dev/listener-operator --version 0.0.0-dev
36-
helm install --wait spark-k8s-operator stackable-dev/spark-k8s-operator --version 0.0.0-dev
26+
helm install --wait commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator --version 0.0.0-dev
27+
helm install --wait secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator --version 0.0.0-dev
28+
helm install --wait listener-operator oci://oci.stackable.tech/sdp-charts/listener-operator --version 0.0.0-dev
29+
helm install --wait spark-k8s-operator oci://oci.stackable.tech/sdp-charts/spark-k8s-operator --version 0.0.0-dev
3730
# end::helm-install-operators[]
3831
;;
3932
"stackablectl")

docs/modules/spark-k8s/examples/getting_started/getting_started.sh.j2

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,12 @@ cd "$(dirname "$0")"
2121

2222
case "$1" in
2323
"helm")
24-
echo "Adding '{{ helm.repo_name }}' Helm Chart repository"
25-
# tag::helm-add-repo[]
26-
helm repo add {{ helm.repo_name }} {{ helm.repo_url }}
27-
# end::helm-add-repo[]
28-
echo "Updating Helm repo"
29-
helm repo update
30-
3124
echo "Installing Operators with Helm"
3225
# tag::helm-install-operators[]
33-
helm install --wait commons-operator {{ helm.repo_name }}/commons-operator --version {{ versions.commons }}
34-
helm install --wait secret-operator {{ helm.repo_name }}/secret-operator --version {{ versions.secret }}
35-
helm install --wait listener-operator {{ helm.repo_name }}/listener-operator --version {{ versions.listener }}
36-
helm install --wait spark-k8s-operator {{ helm.repo_name }}/spark-k8s-operator --version {{ versions.spark }}
26+
helm install --wait commons-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/commons-operator --version {{ versions.commons }}
27+
helm install --wait secret-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/secret-operator --version {{ versions.secret }}
28+
helm install --wait listener-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/listener-operator --version {{ versions.listener }}
29+
helm install --wait spark-k8s-operator oci://{{ helm.repo_url }}/{{ helm.repo_name }}/spark-k8s-operator --version {{ versions.spark }}
3730
# end::helm-install-operators[]
3831
;;
3932
"stackablectl")

docs/modules/spark-k8s/pages/getting_started/first_steps.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Where:
2323

2424
* `metadata.name` contains the name of the SparkApplication
2525
* `spec.version`: SparkApplication version (1.0). This can be freely set by the users and is added by the operator as label to all workload resources created by the application.
26-
* `spec.sparkImage`: the image used by the job, driver and executor pods. This can be a custom image built by the user or an official Stackable image. Available official images are listed in the Stackable https://repo.stackable.tech/#browse/browse:docker:v2%2Fstackable%spark-k8s%2Ftags[image registry].
26+
* `spec.sparkImage`: the image used by the job, driver and executor pods. This can be a custom image built by the user or an official Stackable image. Available official images are stored in the Stackable https://oci.stackable.tech/[image registry,window=_blank]. Information on how to browse the registry can be found xref:contributor:project-overview.adoc#docker-images[here,window=_blank].
2727
* `spec.mode`: only `cluster` is currently supported
2828
* `spec.mainApplicationFile`: the artifact (Java, Scala or Python) that forms the basis of the Spark job.
2929
This path is relative to the image, so in this case an example python script (that calculates the value of pi) is running: it is bundled with the Spark code and therefore already present in the job image

docs/modules/spark-k8s/pages/getting_started/installation.adoc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,7 @@ For example, you can use the `--cluster kind` flag to create a Kubernetes cluste
5151
Helm::
5252
+
5353
--
54-
Add the Stackable Helm repository:
55-
[source,bash]
56-
----
57-
include::example$getting_started/getting_started.sh[tag=helm-add-repo]
58-
----
54+
NOTE: `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.
5955
6056
Install the Stackable Operators:
6157
[source,bash]

docs/templating_vars.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
helm:
3-
repo_name: stackable-dev
4-
repo_url: https://repo.stackable.tech/repository/helm-dev/
3+
repo_name: sdp-charts
4+
repo_url: oci.stackable.tech
55
versions:
66
commons: 0.0.0-dev
77
secret: 0.0.0-dev

0 commit comments

Comments
 (0)