Missing CRDs
Issue: If you encounter an error during installation or upgrade
Error: UPGRADE FAILED: resource mapping not found for name: "<releasename>-pg-db"
namespace: "uno" from "": no matches for kind "PerconaPGCluster" in version "pgv2.percona.com/v2"
It usually indicates that the required Custom Resource Definitions (CRDs) are not installed.
Solution:
Ensure the Percona PostgreSQL Operator is installed or upgraded before creating your cluster:
helm upgrade --install pg-operator percona/pg-operator \
--version 2.8.0 \
-n "$NS
Replace $NS with your namespace. This ensures all necessary CRDs and
resources are available.
Note:
- Replace <namespace> with the Kubernetes namespace where you want the components installed.
- The pg-operator will be installed automatically in the same namespace specified by the -n flag in the command.
- For other installation options, see Alternative installation methods.
- For more details, refer to the official Percona Helm chart documentation: https://github.com/percona/percona-helm-charts/tree/main/charts/pg-operator