Upgrade PMM Server on a Kubernetes single instance¶
Upgrade a single PMM Server instance deployed on Kubernetes with the percona/pmm chart when you want to move to a new PMM release.
Percona releases new chart versions to update containers when:
- A new version of the main container is available
- Significant changes are made
- Critical vulnerabilities are addressed
Before you begin¶
Before starting the upgrade, complete these preparation steps:
-
Create a backup before upgrading. Downgrades are not supported, so a backup is your only recovery option if something goes wrong.
-
If your current version is PMM 3.9.1 or earlier and you use the built-in database, this upgrade also migrates your PMM Server data from PostgreSQL 14 to PostgreSQL 18, so the first start takes longer than usual. Prepare for the PostgreSQL migration.
Upgrade PMM Server¶
Follow these steps to upgrade your PMM Server while preserving your monitoring data and settings. You can restore from your backup if needed.
-
Update the Helm repository:
helm repo update percona -
Upgrade PMM:
helm upgrade pmm -f values.yaml --set podSecurityContext.runAsGroup=null --set podSecurityContext.fsGroup=null percona/pmm -
After the upgrade, verify that PMM Server is running correctly and all your data is accessible:
kubectl get pods | grep pmm-server -
Check the logs for any errors:
kubectl logs deployment/pmm-server