Skip to content

Latest commit

 

History

History

pg-operator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Percona Operator for PostgreSQL

This helm chart deploys the Kubernetes Operator to manage Percona Distribution for PostgreSQL.

Useful links:

A job will be created based on helm install, upgrade, or uninstall. After the job has completed the RBAC will be cleaned up.

Pre-requisites

  • Kubernetes 1.23+
  • At least v3.2.3 version of helm

Installation

This chart will deploy the Operator Pod for the further PostgreSQL creation in Kubernetes. NOTE:

The PG Operator v2 is not directly compatible with old v1 so it is advised to always specify `--version`
when installing pg-operator or pg-db charts to not accidentally cause upgrade to v2 if you were using v1
previously.

Installing the chart

To install the chart with the pg-operator release name using a dedicated namespace (recommended):

helm repo add percona https://percona.github.io/percona-helm-charts/
helm install my-operator percona/pg-operator --version 2.3.1 --namespace my-namespace --create-namespace

Configuration

The following shows the configurable parameters that are relevant to the Helm Chart.

Parameter Description Default
image PG Operator Container image full path percona/percona-postgresql-operator:2.3.1
imagePullPolicy PG Operator Container pull policy Always
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
watchNamespace Set this variable if the target cluster namespace differs from operators namespace ``
watchAllNamespaces K8S Cluster-wide operation false

Deploy the database

To deploy Percona Operator for PostgreSQL cluster with disabled telemetry run the following command:

helm install my-db percona/pg-db --version 2.3.1 --namespace my-namespace

See more about Percona Operator for PostgreSQL deployment in its chart here or in the Helm chart installation guide.