Skip to main content
PGO is available as a Helm chart through the Crunchy Data chart repository. Helm gives you a familiar, values-driven installation workflow and makes it straightforward to manage upgrades with helm upgrade. If your team already uses Helm for Kubernetes workloads, this is the quickest path to a running operator.
Like the Kustomize installation, the Helm chart pulls container images from the Crunchy Data Developer Portal. Register for a free account before installing.

Prerequisites

  • kubectl v1.24 or later, configured to talk to your cluster
  • Helm v3.8 or later
  • Cluster permissions to create Namespace, CustomResourceDefinition, and ClusterRole resources

Add the Crunchy Data chart repository

Add and update the Crunchy Data Helm repository so Helm can find the pgo chart:
Confirm the chart is available:

Install PGO

The default Helm install deploys PGO to the postgres-operator namespace and configures it to watch all namespaces using a ClusterRole.
1

Create the operator namespace

2

Install the chart

Helm creates the CRDs, RBAC resources, and the operator Deployment in a single step.
3

Verify the installation

Configure values

Helm values let you customize the installation without maintaining forked manifests. Inspect all available options:
Common overrides:

Use a values file

For repeatable installs, write your overrides to a file:
Then install with:

Differences from the Kustomize installation

Helm does not upgrade CRDs during helm upgrade by default. When upgrading PGO to a new version with updated CRDs, apply the CRDs manually first. See Upgrade PGO for the full upgrade procedure.

Uninstall PGO

Uninstalling the chart removes the operator Deployment and RBAC resources. Existing PostgresCluster resources continue running until you delete them. If you also remove the CRDs, Kubernetes will garbage-collect all custom resource objects.
To remove the CRDs as well:

Next steps

Create your first cluster

Deploy a production-grade Postgres cluster with high availability.

Install with Kustomize

Use the upstream Kustomize overlays for a GitOps-friendly install.

Upgrade PGO

Keep the operator and your Postgres clusters up to date.

PostgresCluster reference

Full API reference for the PostgresCluster custom resource.