Skip to content

For help, click the link below to get free database assistance or contact our experts for personalized support.

Install Percona Distribution for PostgreSQL with customized parameters

You can customize the configuration of Percona Distribution for PostgreSQL and install it with customized parameters.

To check available configuration options, see deploy/cr.yaml and Custom Resource Options.

To customize the configuration when installing with kubectl, do the following:

  1. Clone the repository with all manifests and source code by executing the following command:

    $ git clone -b v2.5.0 https://github.com/percona/percona-postgresql-operator
    
  2. Edit the required options and apply your modified deploy/cr.yaml file as follows:

    $ kubectl apply -f deploy/cr.yaml -n postgres-operator        
    

To install Percona Distribution for PostgreSQL with custom parameters using Helm, use the following command:

$ helm install --set key=value

You can pass any of the Operator’s Custom Resource options as a --set key=value[,key=value] argument.

The following example deploys a PostgreSQL 16.4 based cluster in the my-namespace namespace, with enabled Percona Monitoring and Management (PMM) :

$ helm install my-db percona/pg-db --version 2.5.0 --namespace my-namespace \
  --set postgresVersion=16.4 \
  --set pmm.enabled=true

Last update: 2025-02-20