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.
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
Upgrading Connectware to 2.0.1
Update your Helm chart values and deploy Connectware 2.0.1. For more information, see Upgrading Connectware (Kubernetes).
Result: Connectware is upgraded to 2.0.1.
Migrating Services with CYBUS_MQTT_ROOT Configuration
CYBUS_MQTT_ROOT ConfigurationIf you are using services configured with CYBUS_MQTT_ROOT, you must run a migration script after installing Connectware 2.0.1 to ensure full Data Explorer compatibility.
Set the shell variable
${YOUR_CONNECTWARE_NAMESPACE}to the Kubernetes namespace in which your Connectware is installed.Run the migration script. This is required if you have services using
CYBUS_MQTT_ROOT.
kubectl debug -it \
-n ${YOUR_CONNECTWARE_NAMESPACE} $(kubectl get pod -n ${YOUR_CONNECTWARE_NAMESPACE} -lapp=system-control-server -o name) \
--image=registry.cybus.io/cybus/connectware-toolkit:1.3.0 \
--target=system-control-server --profile general \
-- bash -c 'cw-db-migrate-2_0_1'Verify that the script ran without errors.
Restart the
topic-explorerDeployment:
kubectl rollout restart -n ${YOUR_CONNECTWARE_NAMESPACE} deployment topic-explorerResult: The migration script updates the database with new column values. You do not need to reinstall your services.
Last updated
Was this helpful?

