Percona XtraDB Cluster (PXC) is a database clustering solution for MySQL. Percona Operator For MySQL allows users to deploy and manage Percona XtraDB Clusters on Kubernetes.
Useful links
- Kubernetes 1.28+
- Helm v3
This chart will deploy the Operator Pod for the further Percona XtraDB Cluster creation in Kubernetes.
To install the chart with the pxc
release name using a dedicated namespace (recommended):
helm repo add percona https://percona.github.io/percona-helm-charts/
helm install my-operator percona/pxc-operator --version 1.15.1 --namespace my-namespace
The chart can be customized using the following configurable parameters:
Parameter | Description | Default |
---|---|---|
image |
PXC Operator Container image full path | percona/percona-xtradb-cluster-operator:1.15.1 |
imagePullPolicy |
PXC Operator Container pull policy | Always |
containerSecurityContext |
PXC Operator Container securityContext | {} |
imagePullSecrets |
PXC Operator Pod pull secret | [] |
replicaCount |
PXC Operator Pod quantity | 1 |
tolerations |
List of node taints to tolerate | [] |
podAnnotations |
Operator Pod user-defined annotations | {} |
resources |
Resource requests and limits | {} |
nodeSelector |
Labels for Pod assignment | {} |
logStructured |
Force PXC operator to print JSON-wrapped log messages | false |
logLevel |
PXC Operator logging level | INFO |
disableTelemetry |
Disable sending PXC Operator telemetry data to Percona | false |
watchAllNamespaces |
Watch all namespaces (Install cluster-wide) | false |
watchNamespace |
Comma separated list of namespace(s) to watch when different from release namespace | "" |
createNamespace |
Create the watched namespace(s) | false |
rbac.create |
If false RBAC will not be created. RBAC resources will need to be created manually | true |
serviceAccount.create |
If false the ServiceAccounts will not be created. The ServiceAccounts must be created manually | true |
extraEnvVars |
Custom pod environment variables | [] |
Specify parameters using --set key=value[,key=value]
argument to helm install
Alternatively a YAML file that specifies the values for the parameters can be provided like this:
helm install pxc-operator -f values.yaml percona/pxc-operator
To deploy Percona XtraDB Cluster run the following command:
helm install my-db percona/pxc-db
See more about Percona XtraDB Cluster in its chart here or in the Helm chart installation guide.