@@ -22,11 +22,31 @@ WARNING: Manually adapted ServiceAccounts must be updated.
2222** Airflow Operator
2323** Superset Operator
2424
25- ==== Upgrade from 24.11.0
25+ ==== Upgrade to the 24.11.1 patch release
26+
27+ [NOTE]
28+ ====
29+ These instructions apply to upgrades from `24.7.0` and `24.11.0`.
30+ In the examples below, we will show an upgrade from `24.11.0`.
31+ ====
2632
2733===== Using stackablectl
2834
29- Upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform:
35+ Uninstall the `24.11` release
36+
37+ [source,console]
38+ ----
39+ $ stackablectl release uninstall 24.11
40+
41+ Uninstalled release '24.11'
42+
43+ Use "stackablectl release list" to list available releases.
44+ # ...
45+ ----
46+
47+ Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform.
48+ The reason for this is that helm will uninstall the operators but not the CRDs.
49+ This can be done using `kubectl replace`.
3050
3151[source]
3252----
@@ -56,7 +76,7 @@ customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech"
5676...
5777----
5878
59- Upgrade the `24.11` release
79+ Install the `24.11` release
6080
6181[source,console]
6282----
@@ -69,7 +89,20 @@ Use "stackablectl operator installed" to list installed operators.
6989
7090===== Using Helm
7191
72- Upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform:
92+ Use `helm list` to list the currently installed operators.
93+
94+ You can use the following command to uninstall all operators that are part of the `24.11` release:
95+
96+ [source,console]
97+ ----
98+ $ 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
99+ release "airflow-operator" uninstalled
100+ release "commons-operator" uninstalled
101+ ...
102+ ----
103+
104+ Afterward you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform.
105+ The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`:
73106
74107[source]
75108----
@@ -99,27 +132,27 @@ customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech"
99132...
100133----
101134
102- Upgrade the `24.11` release
135+ Install the `24.11` release
103136
104137[source,console]
105138----
106139helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/
107140helm repo update stackable-stable
108- helm upgrade -- install --wait airflow-operator stackable-stable/airflow-operator --version 24.11.1
109- helm upgrade -- install --wait commons-operator stackable-stable/commons-operator --version 24.11.1
110- helm upgrade -- install --wait druid-operator stackable-stable/druid-operator --version 24.11.1
111- helm upgrade -- install --wait hbase-operator stackable-stable/hbase-operator --version 24.11.1
112- helm upgrade -- install --wait hdfs-operator stackable-stable/hdfs-operator --version 24.11.1
113- helm upgrade -- install --wait hive-operator stackable-stable/hive-operator --version 24.11.1
114- helm upgrade -- install --wait kafka-operator stackable-stable/kafka-operator --version 24.11.1
115- helm upgrade -- install --wait listener-operator stackable-stable/listener-operator --version 24.11.1
116- helm upgrade -- install --wait nifi-operator stackable-stable/nifi-operator --version 24.11.1
117- helm upgrade -- install --wait opa-operator stackable-stable/opa-operator --version 24.11.1
118- helm upgrade -- install --wait secret-operator stackable-stable/secret-operator --version 24.11.1
119- helm upgrade -- install --wait spark-k8s-operator stackable-stable/spark-k8s-operator --version 24.11.1
120- helm upgrade -- install --wait superset-operator stackable-stable/superset-operator --version 24.11.1
121- helm upgrade -- install --wait trino-operator stackable-stable/trino-operator --version 24.11.1
122- helm upgrade -- install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 24.11.1
141+ helm install --wait airflow-operator stackable-stable/airflow-operator --version 24.11.1
142+ helm install --wait commons-operator stackable-stable/commons-operator --version 24.11.1
143+ helm install --wait druid-operator stackable-stable/druid-operator --version 24.11.1
144+ helm install --wait hbase-operator stackable-stable/hbase-operator --version 24.11.1
145+ helm install --wait hdfs-operator stackable-stable/hdfs-operator --version 24.11.1
146+ helm install --wait hive-operator stackable-stable/hive-operator --version 24.11.1
147+ helm install --wait kafka-operator stackable-stable/kafka-operator --version 24.11.1
148+ helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.1
149+ helm install --wait nifi-operator stackable-stable/nifi-operator --version 24.11.1
150+ helm install --wait opa-operator stackable-stable/opa-operator --version 24.11.1
151+ helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.1
152+ helm install --wait spark-k8s-operator stackable-stable/spark-k8s-operator --version 24.11.1
153+ helm install --wait superset-operator stackable-stable/superset-operator --version 24.11.1
154+ helm install --wait trino-operator stackable-stable/trino-operator --version 24.11.1
155+ helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 24.11.1
123156----
124157
125158=== 24.11.0
0 commit comments