Skip to content

Commit 3f9abed

Browse files
committed
docs: Add upgrade instructions
1 parent 3b0aa35 commit 3f9abed

File tree

1 file changed

+141
-0
lines changed

1 file changed

+141
-0
lines changed

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

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,3 +467,144 @@ These OpenShift versions are no longer supported:
467467

468468
* `4.17`
469469
* `4.16`
470+
471+
==== Upgrade from 25.7
472+
473+
===== Using stackablectl
474+
475+
====== Upgrade with a single command
476+
477+
Starting with stackablectl Release 1.0.0 the multiple consecutive commands described below can be shortened to just one command, which executes exactly those steps on its own.
478+
479+
[source,console]
480+
----
481+
$ stackablectl release upgrade 25.11
482+
----
483+
484+
====== Upgrade with multiple consecutive commands
485+
486+
Uninstall the `25.7` release
487+
488+
[source,console]
489+
----
490+
$ stackablectl release uninstall 25.7
491+
492+
Uninstalled release '25.7'
493+
494+
Use "stackablectl release list" to list available releases.
495+
# ...
496+
----
497+
498+
Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform.
499+
The reason for this is that helm will uninstall the operators but not the CRDs.
500+
This can be done using `kubectl replace`.
501+
502+
// TODO: Mention that the CRDs of the secret-operator don't need to be replaced manually.
503+
504+
[source,shell]
505+
----
506+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/25.11.0/deploy/helm/airflow-operator/crds/crds.yaml
507+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/25.11.0/deploy/helm/commons-operator/crds/crds.yaml
508+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/25.11.0/deploy/helm/druid-operator/crds/crds.yaml
509+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/25.11.0/deploy/helm/hbase-operator/crds/crds.yaml
510+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/25.11.0/deploy/helm/hdfs-operator/crds/crds.yaml
511+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/25.11.0/deploy/helm/hive-operator/crds/crds.yaml
512+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/25.11.0/deploy/helm/kafka-operator/crds/crds.yaml
513+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/25.11.0/deploy/helm/listener-operator/crds/crds.yaml
514+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/25.11.0/deploy/helm/nifi-operator/crds/crds.yaml
515+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/25.11.0/deploy/helm/opa-operator/crds/crds.yaml
516+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/25.11.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
517+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/25.11.0/deploy/helm/superset-operator/crds/crds.yaml
518+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/25.11.0/deploy/helm/trino-operator/crds/crds.yaml
519+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/25.11.0/deploy/helm/zookeeper-operator/crds/crds.yaml
520+
----
521+
522+
[source]
523+
----
524+
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
525+
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
526+
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
527+
...
528+
----
529+
530+
Install the `25.11` release
531+
532+
[source,console]
533+
----
534+
$ stackablectl release install 25.11
535+
536+
Installed release '25.11'
537+
538+
Use "stackablectl operator installed" to list installed operators.
539+
----
540+
541+
===== Using Helm
542+
543+
Use `helm list` to list the currently installed operators.
544+
545+
You can use the following command to uninstall all operators that are part of the `25.7` release:
546+
547+
[source,console]
548+
----
549+
$ 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
550+
release "airflow-operator" uninstalled
551+
release "commons-operator" uninstalled
552+
...
553+
----
554+
555+
Afterward you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform.
556+
The reason for this is that helm will uninstall the operators but not the CRDs.
557+
This can be done using `kubectl replace`.
558+
559+
// TODO: Mention that the CRDs of the secret-operator don't need to be replaced manually.
560+
561+
[source,shell]
562+
----
563+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/25.11.0/deploy/helm/airflow-operator/crds/crds.yaml
564+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/25.11.0/deploy/helm/commons-operator/crds/crds.yaml
565+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/25.11.0/deploy/helm/druid-operator/crds/crds.yaml
566+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/25.11.0/deploy/helm/hbase-operator/crds/crds.yaml
567+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/25.11.0/deploy/helm/hdfs-operator/crds/crds.yaml
568+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/25.11.0/deploy/helm/hive-operator/crds/crds.yaml
569+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/25.11.0/deploy/helm/kafka-operator/crds/crds.yaml
570+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/25.11.0/deploy/helm/listener-operator/crds/crds.yaml
571+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/25.11.0/deploy/helm/nifi-operator/crds/crds.yaml
572+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/25.11.0/deploy/helm/opa-operator/crds/crds.yaml
573+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/25.11.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
574+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/25.11.0/deploy/helm/superset-operator/crds/crds.yaml
575+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/25.11.0/deploy/helm/trino-operator/crds/crds.yaml
576+
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/25.11.0/deploy/helm/zookeeper-operator/crds/crds.yaml
577+
----
578+
579+
[source]
580+
----
581+
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
582+
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
583+
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
584+
...
585+
----
586+
587+
Install the `25.11` release
588+
589+
NOTE: `helm repo` subcommands are not supported for OCI registries.
590+
The operators are installed directly, without adding the Helm Chart repository first.
591+
592+
[source,console]
593+
----
594+
helm install --wait airflow-operator oci://oci.stackable.tech/sdp-charts/airflow-operator --version 25.11.0
595+
helm install --wait commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator --version 25.11.0
596+
helm install --wait druid-operator oci://oci.stackable.tech/sdp-charts/druid-operator --version 25.11.0
597+
helm install --wait hbase-operator oci://oci.stackable.tech/sdp-charts/hbase-operator --version 25.11.0
598+
helm install --wait hdfs-operator oci://oci.stackable.tech/sdp-charts/hdfs-operator --version 25.11.0
599+
helm install --wait hive-operator oci://oci.stackable.tech/sdp-charts/hive-operator --version 25.11.0
600+
helm install --wait kafka-operator oci://oci.stackable.tech/sdp-charts/kafka-operator --version 25.11.0
601+
helm install --wait listener-operator oci://oci.stackable.tech/sdp-charts/listener-operator --version 25.11.0
602+
helm install --wait nifi-operator oci://oci.stackable.tech/sdp-charts/nifi-operator --version 25.11.0
603+
helm install --wait opa-operator oci://oci.stackable.tech/sdp-charts/opa-operator --version 25.11.0
604+
helm install --wait secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator --version 25.11.0
605+
helm install --wait spark-k8s-operator oci://oci.stackable.tech/sdp-charts/spark-k8s-operator --version 25.11.0
606+
helm install --wait superset-operator oci://oci.stackable.tech/sdp-charts/superset-operator --version 25.11.0
607+
helm install --wait trino-operator oci://oci.stackable.tech/sdp-charts/trino-operator --version 25.11.0
608+
helm install --wait zookeeper-operator oci://oci.stackable.tech/sdp-charts/zookeeper-operator --version 25.11.0
609+
----
610+

0 commit comments

Comments
 (0)