Upgrade from 2026.4 to 2026.5.1.
Role: Infrastructure engineer
Prerequisites
Administrative access to the Kubernetes cluster (
kubectl,helm).Access to the HM installation configuration file or
values.yamlfile used for the current installation. To save the contents of your current installation configuration:helm get values edbpgai-bootstrap -n edbpgai-bootstrap > values.yaml
Required tools:
helm(Latest version recommended)kubectledbctlversion1.6.0or later (or a build frommain)
Upgrade 2026.4 → 2026.5.1
HM 2026.5.1 introduces upgrade tooling that automates a complex database migration, including deletion of the stats-collector-db cluster, migration of the edb-observability namespace, and consolidation of app-db, beacondb, and transporter-db into upm-system-db. The tooling runs automatically for both operator and bootstrap helm chart installations via the embedded hmupgrader scripts. No manual data migration steps are required unless an upgrade job fails.
Bootstrap helm chart is deprecated
The edbpgai-bootstrap helm chart is deprecated and will be removed in a future release. Migrating to the operator installation method is the recommended path forward. See Migrating from Bootstrap to Operator installation.
Checking HCP CR annotations
Before upgrading, verify that the HybridControlPlane resource has current-version and previous-version annotations set. The upgrade tooling relies on these parameters to identify which migration scripts to run.
Check the currently set annotations:
kubectl get hcp edbpgai -o yaml | yq '.metadata.annotations | to_entries[] | select(.key | test("edbpgai")) | {.key: .value}'
If
edbpgai.com/current-versionoredbpgai.com/previous-versionis missing or empty, set them before proceeding:kubectl annotate hcp edbpgai edbpgai.com/current-version=v2026.5.1 kubectl annotate hcp edbpgai edbpgai.com/previous-version=v2026.4.0
Replace the version values with the version you are currently running.
Creating new secrets
Before upgrading, create the new secrets required for this release:
edbctl hm create-install-secrets --version v2026.5.1Performing the upgrade
Once the pre-upgrade steps are complete, initiate the upgrade using the method that matches your installation.
For Helm-based (bootstrap) installations
Update your Helm repository:
helm repo update
Run the upgrade:
helm upgrade --install edbpgai-bootstrap enterprisedb-edbpgai/edbpgai-bootstrap \ --version 2026.5.1 \ --values values.yaml \ --namespace edbpgai-bootstrap \ --wait
For operator-based installations
Update
spec.versiontov2026.5.1in yourHybridControlPlanemanifest and apply it:kubectl apply -f hybridmanager.yamlTrigger the upgrade:
kubectl annotate hybridcontrolplane edbpgai --overwrite edbpgai.com/ready-for-upgrade=true
Monitor progress:
kubectl get hybridcontrolplane edbpgai -w
The operator runs the automated upgrade scripts and applies updated manifests. No additional manual steps are required unless an upgrade job fails.
Troubleshooting upgrade job failures
The upgrade operator creates and manages upgrade jobs automatically. If an upgrade job fails and does not reach a Complete or Succeeded state, the operator pauses and retries. It does not proceed applying updated manifests until the job succeeds.
Note
The upgrade job is owned and managed exclusively by the operator. Do not manually create upgrade jobs, as doing so can conflict with the operator's reconciliation loop.
To investigate a failed upgrade job:
Check the status of upgrade jobs:
kubectl get jobs -n edbpgai-bootstrap -l edbpgai.edb.com/hm-upgrader=true
Check the logs for the failed job:
kubectl logs job/<job-name> -n edbpgai-bootstrap
Replace
<job-name>with the name of the failed job from the previous command.Check the
HybridControlPlanestatus for upgrade-related events:kubectl describe hybridcontrolplane edbpgai
If the issue persists after the operator retries, contact EDB support with the job logs.