diff --git a/modules/ROOT/partials/release-notes/release-template.adoc b/modules/ROOT/partials/release-notes/release-template.adoc index cb2935ec3..39c52e796 100644 --- a/modules/ROOT/partials/release-notes/release-template.adoc +++ b/modules/ROOT/partials/release-notes/release-template.adoc @@ -183,35 +183,8 @@ Use "stackablectl release list" to list available releases. # ... ---- -Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. -The reason for this is that helm will uninstall the operators but not the CRDs. -This can be done using `kubectl replace`. - -[source,shell] ----- -kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/YY.M.X/extra/crds.yaml ----- - -[source] ----- -customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced -customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced -customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced -... ----- +The operators maintain their own CustomResourceDefinitions (CRDs) and update them automatically on startup, so no manual CRD upgrade step is required. +See xref:concepts:maintenance/crds.adoc[] for details. Install the `YY.M` release @@ -238,35 +211,8 @@ release "commons-operator" uninstalled ... ---- -Afterward you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. -The reason for this is that helm will uninstall the operators but not the CRDs. -This can be done using `kubectl replace`. - -[source,shell] ----- -kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/YY.M.X/extra/crds.yaml -kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/YY.M.X/extra/crds.yaml ----- - -[source] ----- -customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced -customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced -customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced -... ----- +The operators maintain their own CustomResourceDefinitions (CRDs) and update them automatically on startup, so no manual CRD upgrade step is required. +See xref:concepts:maintenance/crds.adoc[] for details. Install the `YY.M` release diff --git a/modules/concepts/pages/operations/cluster_operations.adoc b/modules/concepts/pages/operations/cluster_operations.adoc index b575b8baf..ec0859a86 100644 --- a/modules/concepts/pages/operations/cluster_operations.adoc +++ b/modules/concepts/pages/operations/cluster_operations.adoc @@ -53,7 +53,7 @@ $ kubectl patch zookeepercluster/simple-zk --patch '{"spec": {"clusterOperation" [source,shell] ---- $ stackablectl operator uninstall zookeeper -$ # Replace CRD with new version, e.g. kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/24.7.0/extra/crds.yaml +$ # The operator maintains its own CRD and updates it automatically on startup; no manual CRD step is needed. $ stackablectl operator install zookeeper=24.7.0 # choose your version ----