docs/operations/upgrade.md
This runbook focuses on upgrade-time checks for environments that may run Bytebase with more than one active replica.
The bundled Helm chart still deploys a single replica by default, so HA rollouts remain operator-managed outside the chart.
GET /v1/actuator/info and capture version, externalUrl, and replicaCount.GET /v1/subscription and verify the ha field.--ha, use the same PG_URL, and keep the same external URL during the upgrade.The chart README uses helm upgrade for version and configuration changes, and that is still the correct command.
However, the chart currently renders a single-replica StatefulSet. Upgrading the chart does not enable an HA topology and does not add a chart value for running multiple Bytebase application replicas.
If you operate multiple Bytebase servers today, treat that topology as operator-managed and keep the upgrade procedure for those extra replicas in your own platform tooling.
If you operate multiple Bytebase replicas outside the bundled chart:
ha: true, Bytebase logs HA restriction warnings and background runners skip work when more than one replica is active.--ha and the same shared external PostgreSQL PG_URL before beginning the rollout.GET /v1/actuator/info and confirm replicaCount matches your expectation.If your environment uses only the bundled Helm chart with its default topology:
helm upgrade with the new Bytebase version or configuration.GET /v1/actuator/info.Validate the following before closing the change:
GET /v1/actuator/info returns the expected version.GET /v1/actuator/info returns the expected replicaCount.GET /v1/subscription still shows the expected ha value.multiple replicas detected ... but HA is not enabled in license.Pause the upgrade and investigate if any of the following occur:
replicaCount does not recover to the expected value.