Closed
Description
Pre-Release Demo Testing on Nightly
Part of stackabletech/issues#686
This is testing:
- That upgrades from the stable release to the nightly release of the operators and products do
not negatively impact the products. - That nightly demos work as documented from scratch.
Note
Record any issues or anomalies during the process in a comment on this issue.
Eg:
:green_circle: **airflow-scheduled-job**
The CRD had been updated and I needed to change the following in the manifest:
...
Replace the items in the task lists below with the applicable Pull Requests (if any).
### Testing Demos on Nightly
- [x] [airflow-scheduled-job](https://docs.stackable.tech/home/nightly/demos/airflow-scheduled-job) @maltesander
- [x] [data-lakehouse-iceberg-trino-spark](https://docs.stackable.tech/home/nightly/demos/data-lakehouse-iceberg-trino-spark) @dervoeti
- [x] [end-to-end-security](https://docs.stackable.tech/home/nightly/demos/end-to-end-security) @NickLarsenNZ
- [x] [hbase-hdfs-load-cycling-data](https://docs.stackable.tech/home/nightly/demos/hbase-hdfs-load-cycling-data) @maltesander
- [x] [jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data](https://docs.stackable.tech/home/nightly/demos/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data) @maltesander
- [x] [logging](https://github.com/stackabletech/demos/issues/157#issuecomment-2728664372) @Techassi
- [x] [nifi-kafka-druid-earthquake-data](https://docs.stackable.tech/home/nightly/demos/nifi-kafka-druid-earthquake-data) @dervoeti
- [x] [nifi-kafka-druid-water-level-data](https://docs.stackable.tech/home/nightly/demos/nifi-kafka-druid-water-level-data) @dervoeti
- [x] [signal-processing](https://github.com/stackabletech/demos/issues/157#issuecomment-2728840121) @Techassi
- [x] [spark-k8s-anomaly-detection-taxi-data](https://docs.stackable.tech/home/nightly/demos/spark-k8s-anomaly-detection-taxi-data) @maltesander @razvan
- [x] [trino-iceberg](https://docs.stackable.tech/home/nightly/demos/trino-iceberg) @xeniape
- [x] [trino-taxi-data](https://docs.stackable.tech/home/nightly/demos/trino-taxi-data) @NickLarsenNZ
- [x] [jupyterhub-keycloak](https://docs.stackable.tech/home/nightly/demos/jupyterhub-keycloak/) @maltesander
Stable to Nightly Upgrade Testing Instructions
These instructions are for deploying and completing the stable demo, and then
upgading operators, CRDs, and products to the nightly versions well as upgrading
the operators and CRDS.
Tip
Be sure to select the stable docs version on https://docs.stackable.tech/home/stable/demos/.
# Install demo (stable operators) for the stable release (24.11.1).
stackablectl demo install <DEMO_NAME>
# --- IMPORTANT ---
# Run through the stable demo instructions (refer to the tasklist above).
# Get a list of installed operators
stackablectl operator installed --output=plain
# --- OPTIONAL ---
# Sometimes it is necessary to upgrade Helm charts. Look for other Helm Charts
# which might need updating.
# First, see which charts are installed. You can ignore the stackable-operator
# charts, or anything that might have been installed outside of this demo.
helm list
# Next, add the applicable Helm Chart repositories. For example:
helm repo add minio https://charts.min.io/
helm repo add bitnami https://charts.bitnami.com/bitnami
# Finally, upgrade the Charts to what is defined in `main`.
# For example:
helm upgrade minio minio/minio --version x.x.x
helm upgrade postgresql-hive bitnami/postgresql --version x.x.x
# --- OPTIONAL END ---
# Uninstall operators for the stable release (24.11)
stackablectl release uninstall 24.11
# Update CRDs to nightly version (on main)
# Repeat this for every operator used by the demo (use the list from the earlier step before deleting the operators)
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/main/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/...-operator/main/deploy/helm/...-operator/crds/crds.yaml
# Install nightly version of operators (use the list from the earlier step before deleting the operators)
# MAKE SURE TO SPECIFY 0.0.0-dev AS THE VERSION FOR EACH OPERATOR, BECAUSE STACKABLECTL-24.11.3
# WILL OTHERWISE INSTALL THE WRONG VERSION.
stackablectl operator install commons=0.0.0-dev ...
# Optionally update the product versions in the CRDs (to the latest non-experimental version for the new release), e.g.:
kubectl patch hbaseclusters/hbase --type='json' -p='[{"op": "replace", "path": "/spec/image/productVersion", "value":"x.x.x"}]' # changed
Nightly from Scratch Testing Instructions
These instructions are for deploying and completing the nightly demo from scratch.
Tip
Be sure to select the nightly docs version on https://docs.stackable.tech/home/nightly/demos/.
# Install demo (nightly operators) for the nightly release.
stackablectl demo install <DEMO_NAME> --release dev
# --- IMPORTANT ---
# Run through the nightly demo instructions (refer to the tasklist above).