Skip to content

Latest commit

 

History

History
 
 

pxc-operator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Percona Operator For MySQL

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

Pre-requisites

  • Kubernetes 1.24+
  • Helm v3

Installation

This chart will deploy the Operator Pod for the further Percona XtraDB Cluster creation in Kubernetes.

Installing the Chart

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.14.0 --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.14.0
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
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

Deploy the database

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.