|
| 1 | +== Release 22.11 |
| 2 | + |
| 3 | +=== 22.11.0 |
| 4 | + |
| 5 | +Released on 2022-11-09. |
| 6 | +This is the third release of the Stackable Data Platform, which this time focuses on resource management. |
| 7 | + |
| 8 | +==== New platform features |
| 9 | + |
| 10 | +The following new major platform features were added: |
| 11 | + |
| 12 | +CPU and memory limits configurable:: |
| 13 | + |
| 14 | +The operators now https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/[request] resources from Kubernetes for the products and required CPU and memory can now also be configured for all products. |
| 15 | +If your product instances are less performant after the update, the new defaults might be set too low and we recommend to xref:kafka:usage-guide/storage-resources.adoc[set custom requests] for your cluster. |
| 16 | + |
| 17 | +* https://github.com/stackabletech/opa-operator/pull/347[OpenPolicyAgent] |
| 18 | +* https://github.com/stackabletech/zookeeper-operator/pull/563[Apache ZooKeeper] |
| 19 | +* https://github.com/stackabletech/kafka-operator/pull/485[Apache Kafka] |
| 20 | +* https://github.com/stackabletech/hbase-operator/pull/245[Apache HBase] |
| 21 | +* https://github.com/stackabletech/hive-operator/pull/242[Apache Hive] |
| 22 | +* https://github.com/stackabletech/nifi-operator/pull/353[Apache NiFi] |
| 23 | +* https://github.com/stackabletech/druid-operator/pull/298[Apache Druid] |
| 24 | +* https://github.com/stackabletech/airflow-operator/pull/167[Apache Airflow] |
| 25 | +* https://github.com/stackabletech/superset-operator/pull/273[Apache Superset] |
| 26 | + |
| 27 | +Orphaned Resources:: |
| 28 | + |
| 29 | +The operators now properly clean up after scaling down products. |
| 30 | +This means for example deleting StatefulSets that were left over after scaling down. |
| 31 | + |
| 32 | +* https://github.com/stackabletech/zookeeper-operator/pull/569[Apache ZooKeeper] |
| 33 | +* https://github.com/stackabletech/hbase-operator/pull/215[Apache HBase] |
| 34 | +* https://github.com/stackabletech/hdfs-operator/pull/249[Apache Hadoop HDFS] |
| 35 | +* https://github.com/stackabletech/hive-operator/pull/254[Apache Hive] |
| 36 | +* https://github.com/stackabletech/druid-operator/pull/310[Apache Druid] |
| 37 | +* https://github.com/stackabletech/trino-operator/pull/310[Trino] |
| 38 | +* https://github.com/stackabletech/airflow-operator/pull/174[Apache Airflow] |
| 39 | + |
| 40 | +New Versions:: |
| 41 | + |
| 42 | +New product versions are supported. |
| 43 | + |
| 44 | +* https://github.com/stackabletech/kafka-operator/pull/492[Apache Kafka 3.3.1] |
| 45 | +* https://github.com/stackabletech/hdfs-operator/pull/250[Apache Hadoop HDFS 3.3.4] |
| 46 | +* https://github.com/stackabletech/nifi-operator/pull/360[Apache NiFi 1.18.0] |
| 47 | +* https://github.com/stackabletech/druid-operator/pull/317[Apache Druid 24.0.0] |
| 48 | +* https://github.com/stackabletech/airflow-operator/pull/179[Apache Airflow 2.4.1] |
| 49 | + |
| 50 | +Product features:: |
| 51 | + |
| 52 | +Additionally there are some individual product features that are noteworthy |
| 53 | + |
| 54 | +* https://github.com/stackabletech/kafka-operator/pull/221[HBase: Phoenix support] |
| 55 | +* https://github.com/stackabletech/hive-operator/pull/264[Hive: Support HDFS connection] |
| 56 | +* https://github.com/stackabletech/nifi-operator/pull/323[NiFi: Support for in-place upgrades] |
| 57 | +* https://github.com/stackabletech/nifi-operator/pull/371[NiFi: repository sizes are now adjusted based on declared PVC sizes] |
| 58 | +* https://github.com/stackabletech/trino-operator/pull/306[Trino: Support for LDAP authentication] |
| 59 | +* The github repositories contain new and improved READMEs. |
| 60 | + |
| 61 | +==== Supported Kubernetes versions |
| 62 | + |
| 63 | +This release supports the following Kubernetes versions: |
| 64 | + |
| 65 | +* `1.25` (new) |
| 66 | +* `1.24` |
| 67 | +* `1.23` |
| 68 | +* `1.22` |
| 69 | + |
| 70 | +==== Upgrade from 22.09 |
| 71 | + |
| 72 | +===== Using stackablectl |
| 73 | +You can list the available releases as follows |
| 74 | + |
| 75 | +[source,console] |
| 76 | +---- |
| 77 | +$ stackablectl release list |
| 78 | +RELEASE RELEASE DATE DESCRIPTION |
| 79 | +22.11 2022-11-08 Third release focusing on resource management |
| 80 | +22.09 2022-09-09 Second release focusing on security and OpenShift support |
| 81 | +22.06 2022-06-30 First official release of the Stackable Data Platform |
| 82 | +
|
| 83 | +---- |
| 84 | + |
| 85 | +To uninstall the `22.09` release run |
| 86 | + |
| 87 | +[source,console] |
| 88 | +---- |
| 89 | +$ stackablectl release uninstall 22.09 |
| 90 | +[INFO ] Uninstalling release 22.09 |
| 91 | +[INFO ] Uninstalling airflow operator |
| 92 | +[INFO ] Uninstalling commons operator |
| 93 | +# ... |
| 94 | +---- |
| 95 | + |
| 96 | +Afterwards you will need to update the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. |
| 97 | +The reason for this is that helm will uninstall the operators but not the CRDs. |
| 98 | + |
| 99 | +[source,console] |
| 100 | +---- |
| 101 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/airflow-operator/0.6.0/deploy/helm/airflow-operator/crds/crds.yaml |
| 102 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/commons-operator/0.4.0/deploy/helm/commons-operator/crds/crds.yaml |
| 103 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/druid-operator/0.8.0/deploy/helm/druid-operator/crds/crds.yaml |
| 104 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hbase-operator/0.5.0/deploy/helm/hbase-operator/crds/crds.yaml |
| 105 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/0.6.0/deploy/helm/hdfs-operator/crds/crds.yaml |
| 106 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hive-operator/0.8.0/deploy/helm/hive-operator/crds/crds.yaml |
| 107 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/kafka-operator/0.8.0/deploy/helm/kafka-operator/crds/crds.yaml |
| 108 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/nifi-operator/0.8.0/deploy/helm/nifi-operator/crds/crds.yaml |
| 109 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/opa-operator/0.11.0/deploy/helm/opa-operator/crds/crds.yaml |
| 110 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/secret-operator/0.6.0/deploy/helm/secret-operator/crds/crds.yaml |
| 111 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/0.6.0/deploy/helm/spark-k8s-operator/crds/crds.yaml |
| 112 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/superset-operator/0.7.0/deploy/helm/superset-operator/crds/crds.yaml |
| 113 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/trino-operator/0.8.0/deploy/helm/trino-operator/crds/crds.yaml |
| 114 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/0.12.0/deploy/helm/zookeeper-operator/crds/crds.yaml |
| 115 | +---- |
| 116 | + |
| 117 | +To install the `22.11` release run |
| 118 | + |
| 119 | +[source,console] |
| 120 | +---- |
| 121 | +$ stackablectl release install 22.11 |
| 122 | +[INFO ] Installing release 22.11 |
| 123 | +[INFO ] Installing airflow operator in version 0.6.0 |
| 124 | +[INFO ] Installing commons operator in version 0.4.0 |
| 125 | +[INFO ] Installing druid operator in version 0.8.0 |
| 126 | +[INFO ] Installing hbase operator in version 0.5.0 |
| 127 | +[INFO ] Installing hdfs operator in version 0.6.0 |
| 128 | +[INFO ] Installing hive operator in version 0.8.0 |
| 129 | +[INFO ] Installing kafka operator in version 0.8.0 |
| 130 | +[INFO ] Installing nifi operator in version 0.8.0 |
| 131 | +[INFO ] Installing opa operator in version 0.11.0 |
| 132 | +[INFO ] Installing secret operator in version 0.6.0 |
| 133 | +[INFO ] Installing spark-k8s operator in version 0.6.0 |
| 134 | +[INFO ] Installing superset operator in version 0.7.0 |
| 135 | +[INFO ] Installing trino operator in version 0.7.0 |
| 136 | +[INFO ] Installing zookeeper operator in version 0.12.0 |
| 137 | +# ... |
| 138 | +---- |
| 139 | + |
| 140 | +===== Using helm |
| 141 | + |
| 142 | +Use `helm list` to list the currently installed operators. |
| 143 | +You can use the following command to uninstall all of the operators that are part of the release 22.09: |
| 144 | + |
| 145 | +[source,console] |
| 146 | +---- |
| 147 | +$ helm uninstall airflow-operator commons-operator druid-operator hbase-operator hdfs-operator hive-operator kafka-operator nifi-operator opa-operator secret-operator spark-k8s-operator superset-operator trino-operator zookeeper-operator |
| 148 | +release "airflow-operator" uninstalled |
| 149 | +release "commons-operator" uninstalled |
| 150 | +# ... |
| 151 | +---- |
| 152 | + |
| 153 | +Afterwards you will need to update the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. |
| 154 | +This is because helm will uninstall the operators but not the CRDs. |
| 155 | + |
| 156 | +[source,console] |
| 157 | +---- |
| 158 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/airflow-operator/0.6.0/deploy/helm/airflow-operator/crds/crds.yaml |
| 159 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/commons-operator/0.4.0/deploy/helm/commons-operator/crds/crds.yaml |
| 160 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/druid-operator/0.8.0/deploy/helm/druid-operator/crds/crds.yaml |
| 161 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hbase-operator/0.5.0/deploy/helm/hbase-operator/crds/crds.yaml |
| 162 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/0.6.0/deploy/helm/hdfs-operator/crds/crds.yaml |
| 163 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hive-operator/0.8.0/deploy/helm/hive-operator/crds/crds.yaml |
| 164 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/kafka-operator/0.8.0/deploy/helm/kafka-operator/crds/crds.yaml |
| 165 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/nifi-operator/0.8.0/deploy/helm/nifi-operator/crds/crds.yaml |
| 166 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/opa-operator/0.11.0/deploy/helm/opa-operator/crds/crds.yaml |
| 167 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/secret-operator/0.6.0/deploy/helm/secret-operator/crds/crds.yaml |
| 168 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/0.6.0/deploy/helm/spark-k8s-operator/crds/crds.yaml |
| 169 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/superset-operator/0.7.0/deploy/helm/superset-operator/crds/crds.yaml |
| 170 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/trino-operator/0.8.0/deploy/helm/trino-operator/crds/crds.yaml |
| 171 | +$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/0.12.0/deploy/helm/zookeeper-operator/crds/crds.yaml |
| 172 | +---- |
| 173 | + |
| 174 | +To install the release 22.11 run |
| 175 | + |
| 176 | +[source,console] |
| 177 | +---- |
| 178 | +$ helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/ |
| 179 | +$ helm repo update stackable-stable |
| 180 | +$ helm install --wait airflow-operator stackable-stable/airflow-operator --version 0.6.0 |
| 181 | +$ helm install --wait commons-operator stackable-stable/commons-operator --version 0.4.0 |
| 182 | +$ helm install --wait druid-operator stackable-stable/druid-operator --version 0.8.0 |
| 183 | +$ helm install --wait hbase-operator stackable-stable/hbase-operator --version 0.5.0 |
| 184 | +$ helm install --wait hdfs-operator stackable-stable/hdfs-operator --version 0.6.0 |
| 185 | +$ helm install --wait hive-operator stackable-stable/hive-operator --version 0.8.0 |
| 186 | +$ helm install --wait kafka-operator stackable-stable/kafka-operator --version 0.8.0 |
| 187 | +$ helm install --wait nifi-operator stackable-stable/nifi-operator --version 0.8.0 |
| 188 | +$ helm install --wait opa-operator stackable-stable/opa-operator --version 0.11.0 |
| 189 | +$ helm install --wait secret-operator stackable-stable/secret-operator --version 0.6.0 |
| 190 | +$ helm install --wait spark-k8s-operator stackable-stable/spark-k8s-operator --version 0.6.0 |
| 191 | +$ helm install --wait superset-operator stackable-stable/superset-operator --version 0.7.0 |
| 192 | +$ helm install --wait trino-operator stackable-stable/trino-operator --version 0.7.0 |
| 193 | +$ helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 0.12.0 |
| 194 | +---- |
| 195 | + |
| 196 | +==== Breaking changes |
| 197 | + |
| 198 | +You will need to adapt your existing CRDs due to the following breaking changes: |
| 199 | + |
| 200 | +===== Stackable Operator for Apache Spark |
| 201 | + |
| 202 | +The configuration of pod resource requests has been changed to be consistent with other operators that are part of the Stackable Data Platform (https://github.com/stackabletech/spark-k8s-operator/pull/147[#174]). |
| 203 | + |
| 204 | +In the previous version, these were configured like this: |
| 205 | + |
| 206 | +``` |
| 207 | + driver: |
| 208 | + cores: 1 |
| 209 | + coreLimit: "1200m" |
| 210 | + memory: "512m"` |
| 211 | +``` |
| 212 | + |
| 213 | +From now on, Pod resources can be configured in two different ways. |
| 214 | +The first and recommended way is to add a resources section for each role as the following examples shows: |
| 215 | + |
| 216 | +``` |
| 217 | + driver: |
| 218 | + resources: |
| 219 | + cpu: |
| 220 | + min: "1" |
| 221 | + max: "1500m" |
| 222 | + memory: |
| 223 | + limit: "1Gi" |
| 224 | +``` |
| 225 | + |
| 226 | +The second method is to use the `sparkConf` section and and set them individually as spark properties: |
| 227 | + |
| 228 | +``` |
| 229 | + sparkConf: |
| 230 | + spark.kubernetes.submission.waitAppCompletion: "false" |
| 231 | + spark.kubernetes.driver.pod.name: "resources-sparkconf-driver" |
| 232 | + spark.kubernetes.executor.podNamePrefix: "resources-sparkconf" |
| 233 | + spark.kubernetes.driver.request.cores: "2" |
| 234 | + spark.kubernetes.driver.limit.cores: "3" |
| 235 | +``` |
| 236 | + |
| 237 | +When both methods are used, the settings in the `sparkConf` section override the `resources` configuration. |
| 238 | + |
| 239 | +Note that none of the settings above have any influence over the parallelism used by Spark itself. |
| 240 | +The only supported way to affect this is as follows: |
| 241 | + |
| 242 | +``` |
| 243 | + sparkConf: |
| 244 | + spark.driver.cores: "3" |
| 245 | + spark.executor.cores: "3" |
| 246 | +``` |
0 commit comments