Install Percona Server for MySQL using Helm¶
Helm is the package manager for Kubernetes. Percona Helm charts can be found in percona/percona-helm-charts repository on Github.
Prerequisites¶
Install Helm v3 and above following its official installation instructions .
Installation¶
-
Add the Percona Helm charts repository and make your Helm client up to date with it:
helm repo add percona https://percona.github.io/percona-helm-charts/ helm repo update -
Install the Percona Operator for MySQL. It is a good practice to isolate workloads in Kubernetes by installing the Operator in a custom namespace. Replace the
my-namespacevalue with your desired namespace in the following command:helm install my-op percona/ps-operator --namespace my-namespace --create-namespaceThe
my-opparameter in the above example is the name of a new release object which is created for the Operator when you install its Helm chart. You can use any other name you like instead.Expected output
NAME: my-op LAST DEPLOYED: Sun Nov 9 10:23:13 2025 NAMESPACE: my-namespace STATUS: deployed REVISION: 1 TEST SUITE: None -
Install Percona Server for MySQL:
helm install my-db percona/ps-db --namespace my-namespaceThe
my-dbparameter in the above example is the name of a new release object which is created for the Percona Server for MySQL when you install its Helm chart (use any name you like).Expected output
NAME: my-db LAST DEPLOYED: Sun Nov 9 10:26:41 2025 NAMESPACE: my-namespace STATUS: deployed REVISION: 1 TEST SUITE: None NOTES:
The command above installs Percona Server for MySQL with default parameters. Custom options can be passed to a helm install command as a --set key=value[,key=value] argument. The options passed with a chart can be any of the Custom Resource options .
The following example will deploy a Percona Server for MySQL in the my-namespace namespace, with disabled backups and 20 Gi storage:
helm install my-db percona/ps-db \
--set mysql.volumeSpec.pvc.resources.requests.storage=20Gi \
--set backup.enabled=false
You can find in the documentation for the charts which Operator and database parameters can be customized during installation.
Next steps¶
Connect to Percona Server for MySQL
Created: September 19, 2022