Add Support for Configuring repo-host Resources in Percona Postgres Custom Resource

Description

Hello Team!

During the initialization of a postgres cluster, the Operator generates a repoHost StatefulSet without a resources block.

When a ResourceQuota is enforced in the namespace, the missing resources block prevents pod creation, resulting in the following error:

Crunchy Data’s original pgcluster CRD allows setting resource requests and limits for repoHost under the spec.repoHost (
However, the Percona's custom resource definition does not provide this capability, leading to issues in resource-constrained environments (

Please consider adding this feature to align with Crunchy Data’s behavior and improve usability in constrained environments.

Thank you!

Environment

None

AFFECTED CS IDs

CS0052718

Activity

Show:

Slava Sarzhan 4 hours ago

The resources section was added:

George Kechagias February 3, 2025 at 3:50 PM

related issue:

Details

Security Level Help

None

Assignee

Reporter

Labels

Needs QA

Yes

Needs Doc

Yes

Story Points

Fix versions

Affects versions

Priority

Smart Checklist

Created February 3, 2025 at 8:55 AM
Updated 4 hours ago