Upgrading Connectware to 2.0.1 (Kubernetes)
How to upgrade Connectware to version 2.0.1 on Kubernetes.
Connectware 2.0.1 introduces enhancements to the Data Explorer. If you are running services that are configured with CYBUS_MQTT_ROOT
, this upgrade requires you to run a migration script to populate missing database entries.
Disclaimer
Hardware Requirements
Connectware 2.0.1 adds a new microservice for MQTT topic exploration. As a result, Connectware requires the following additional resources:
400m CPU (0.4 CPU)
1500 MiB of memory
On Kubernetes, this service runs with two replicas by default, effectively doubling the resource usage compared to Docker, but providing redundancy. Ensure your cluster has sufficient spare capacity before upgrading.
Upgrading Procedure
Update your Helm chart values and deploy Connectware 2.0.1. For more information, see Upgrading Connectware (Kubernetes).
Run the migration script. This is required if you have services using
CYBUS_MQTT_ROOT
.
CONNECTWARE_NAMESPACE=your-connectware-namespace
kubectl exec -n ${CONNECTWARE_NAMESPACE} -it postgresql-0 -- /app/scripts/migrate_to_2.0.1.sh
Result: The script completes the database migration by filling in missing values for new columns. Reinstalling services is not necessary.
Last updated
Was this helpful?