Installation
This page covers installing the Alauda build of CloudNativePG operator. Once the operator is installed, you can deploy your first PostgreSQL cluster by applying a Cluster CR (Functions guide coming in a later release).
Prerequisites
- An Alauda Container Platform (ACP) cluster, version 4.3 or later.
- Cluster admin or platform admin access.
- The
cloudnative-pgpackage downloaded for your version (.tgz) — typically installed via the platform catalog UI. - A block-mode StorageClass available in the target cluster (e.g.
global-topolvmsc).
Install via the platform catalog (recommended)
- In the left navigation bar, go to Marketplace > Operator Hub.
- Select your target cluster.
- Search for CloudNativePG under the
platformcatalog source. - Click Install.
- In the install dialog, accept the suggested namespace
cnpg-system(the bundle declares this via theoperatorframework.io/suggested-namespaceannotation), select channelstable, install plan approvalAutomatic, and confirm. - Wait until the operator's CSV reaches phase Succeeded and the
cnpg-controller-managerdeployment is1/1 Ready.
Verify the install
After CSV is Succeeded:
Expected:
- One CSV
cloudnative-pg.<version>with phaseSucceeded. - Deployment
cnpg-controller-managerwith 1/1 ready replicas. - One operator pod
cnpg-controller-manager-<hash>Running.
Check the operator's environment for the ACP-specific defaults:
You should see:
ENABLE_IMAGE_REWRITE_TOLERANCE = truePOSTGRES_IMAGE_NAME = build-harbor.alauda.cn/middleware/cnpg/postgresql:18.3-standard-trixiePGBOUNCER_IMAGE_NAME = build-harbor.alauda.cn/middleware/cnpg/pgbouncer:1.25.1
If POSTGRES_IMAGE_NAME carries a timestamp tag (e.g. 18.3-202605070509-standard-trixie) or ENABLE_IMAGE_REWRITE_TOLERANCE is missing, you are on a pre-v1.29.0-acp.1 build. See Upgrade for the remediation procedure.
Next
- Architecture — operator + Cluster CR model.
- Upgrade — patch/minor version upgrade procedure.
- Release Notes — per-version changes.
A "Create a Cluster" walkthrough and Troubleshooting reference are scheduled for a future docs release. For now, the architecture page covers the Cluster CR model and the upgrade page includes diagnostic procedures for common install issues.