metoro-onprem chart and managed by CloudNativePG.
If PostgreSQL is externally managed, change resources through the team and tooling that operate that PostgreSQL service. The Metoro chart does not manage external PostgreSQL pod resources.
Check Usage First
Before changing resources, inspect sustained PostgreSQL CPU, memory, throttling, restart, and scheduling signals. Use Metoro’s hub dashboards where available, Kubernetes pod metrics, and recent events. Resize based on sustained pressure or PostgreSQL symptoms, not a single short spike. Useful signals include:- PostgreSQL pods using most of their CPU or memory for a sustained period.
- Non-zero CPU throttling.
- OOM restarts or memory-limit errors.
- PostgreSQL pods stuck
Pendingbecause requests do not fit available nodes. - Apiserver metadata operations becoming slow or failing.
- Temporal persistence errors or workflow progress issues.
What To Change
Thepostgres.bundled.cluster.resources Helm values control PostgreSQL CPU and memory requests and limits. The chart renders these values into spec.resources on the CloudNativePG Cluster named metoro-postgresql.
Change the values in metoro-hub-values.yaml:
Guaranteed QoS when practical. To get Guaranteed QoS, set CPU and memory requests equal to their limits.
Changing CPU or memory does not resize PVCs. To increase PostgreSQL PVC capacity, see Upscale PVC.
Changing CPU or memory does not add PostgreSQL instances. To change instance count, see Scale Instances.
Apply The Change
Apply the updated values with the same Helm release and chart version used for the hub:What Happens
After the Helm upgrade, the CloudNativePGCluster named metoro-postgresql updates its spec.resources.
CloudNativePG reconciles the updated cluster with a rolling update. PostgreSQL standby instances are updated first, one pod at a time. The primary is updated last. The chart uses primaryUpdateMethod: switchover and primaryUpdateStrategy: unsupervised, so CloudNativePG can promote an updated standby before replacing the old primary.
Expect a rolling, switchover-aware process rather than all PostgreSQL pods restarting at once. Apiserver and Temporal may briefly observe PostgreSQL readiness changes and should recover as PostgreSQL endpoints settle.
If pods become pending after increasing requests, check node capacity, node selectors, taints, topology constraints, and scheduler events. The requested pod shape must fit on available Kubernetes nodes.
Verify The Rollout
Check that the CloudNativePG cluster exists and is being reconciled:Cluster for normal resource changes. Keep metoro-hub-values.yaml as the source of truth and let Helm and CloudNativePG reconcile the change.