Skip to content

Commit 09b4d10

Browse files
committed
chore(25.3.0): Add upgrade intructions using helm
1 parent 3169f48 commit 09b4d10

File tree

3 files changed

+68
-1
lines changed

3 files changed

+68
-1
lines changed

modules/ROOT/partials/release-notes/release-25.3.adoc

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,70 @@ Use "stackablectl operator installed" to list installed operators.
145145

146146
===== Using Helm
147147

148+
Use `helm list` to list the currently installed operators.
149+
150+
You can use the following command to uninstall all operators that are part of the `24.11` release:
151+
152+
[source,console]
153+
----
154+
$ helm uninstall airflow-operator commons-operator druid-operator hbase-operator hdfs-operator hive-operator kafka-operator listener-operator nifi-operator opa-operator secret-operator spark-k8s-operator superset-operator trino-operator zookeeper-operator
155+
release "airflow-operator" uninstalled
156+
release "commons-operator" uninstalled
157+
...
158+
----
159+
160+
Afterward you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform.
161+
The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`:
162+
163+
[source]
164+
----
165+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/25.3.0/deploy/helm/airflow-operator/crds/crds.yaml
166+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/25.3.0/deploy/helm/commons-operator/crds/crds.yaml
167+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/25.3.0/deploy/helm/druid-operator/crds/crds.yaml
168+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/25.3.0/deploy/helm/hbase-operator/crds/crds.yaml
169+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/25.3.0/deploy/helm/hdfs-operator/crds/crds.yaml
170+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/25.3.0/deploy/helm/hive-operator/crds/crds.yaml
171+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/25.3.0/deploy/helm/kafka-operator/crds/crds.yaml
172+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/25.3.0/deploy/helm/listener-operator/crds/crds.yaml
173+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/25.3.0/deploy/helm/nifi-operator/crds/crds.yaml
174+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/25.3.0/deploy/helm/opa-operator/crds/crds.yaml
175+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/25.3.0/deploy/helm/secret-operator/crds/crds.yaml
176+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/25.3.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
177+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/25.3.0/deploy/helm/superset-operator/crds/crds.yaml
178+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/25.3.0/deploy/helm/trino-operator/crds/crds.yaml
179+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/25.3.0/deploy/helm/zookeeper-operator/crds/crds.yaml
180+
----
181+
182+
[source,console]
183+
----
184+
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
185+
customresourcedefinition.apiextensions.k8s.io "airflowdbs.airflow.stackable.tech" replaced
186+
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
187+
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
188+
...
189+
----
190+
191+
Install the `25.3` release
192+
193+
[source,console]
194+
----
195+
helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/
196+
helm repo update stackable-stable
197+
helm install --wait airflow-operator stackable-stable/airflow-operator --version 25.3.0
198+
helm install --wait commons-operator stackable-stable/commons-operator --version 25.3.0
199+
helm install --wait druid-operator stackable-stable/druid-operator --version 25.3.0
200+
helm install --wait hbase-operator stackable-stable/hbase-operator --version 25.3.0
201+
helm install --wait hdfs-operator stackable-stable/hdfs-operator --version 25.3.0
202+
helm install --wait hive-operator stackable-stable/hive-operator --version 25.3.0
203+
helm install --wait kafka-operator stackable-stable/kafka-operator --version 25.3.0
204+
helm install --wait listener-operator stackable-stable/listener-operator --version 25.3.0
205+
helm install --wait nifi-operator stackable-stable/nifi-operator --version 25.3.0
206+
helm install --wait opa-operator stackable-stable/opa-operator --version 25.3.0
207+
helm install --wait secret-operator stackable-stable/secret-operator --version 25.3.0
208+
helm install --wait spark-k8s-operator stackable-stable/spark-k8s-operator --version 25.3.0
209+
helm install --wait superset-operator stackable-stable/superset-operator --version 25.3.0
210+
helm install --wait trino-operator stackable-stable/trino-operator --version 25.3.0
211+
helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 25.3.0
212+
----
213+
148214
==== Known issues

modules/contributor/partials/current_adrs.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@
3131
**** xref:adr/ADR032-oidc-support.adoc[]
3232
**** xref:adr/ADR034-foundation-webhooks-deployment.adoc[]
3333
**** xref:adr/ADR035-user-info-fetcher.adoc[]
34+
**** xref:adr/ADR000-crd-versioning.adoc[]

0 commit comments

Comments
 (0)