Skip to content

Error creating: pods "postgres-initdb-bwh7j" is forbidden: failed quota: cpu-limit: must specify limits.cpu for: psql; requests.cpu for: psql #559

@TLINDEN

Description

@TLINDEN

Creation of initdb pods fails with these errors:

LAST SEEN   TYPE      REASON         OBJECT                                  MESSAGE
25m         Warning   Sync           postgresql/pgfoo-bar123    could not sync cluster: could not sync roles: could not init db connection: could not init db connection: still failing after 8 retries
84s         Warning   FailedCreate   statefulset/pgfoo-bar123   create Pod pgfoo-bar123-0 in StatefulSet pgfoo-bar123 failed error: pods "pgfoo-bar123-0" is forbidden: exceeded quota: cpu-limit, requested: requests.cpu=1200m, used: requests.cpu=100m, limited: requests.cpu=1
14m         Warning   FailedCreate   job/postgres-initdb                     (combined from similar events): Error creating: pods "postgres-initdb-f2gvt" is forbidden: failed quota: cpu-limit: must specify limits.cpu for: psql; requests.cpu for: psql
10m         Warning   FailedCreate   job/postgres-initdb                     Error creating: pods "postgres-initdb-zs2z2" is forbidden: failed quota: cpu-limit: must specify limits.cpu for: psql; requests.cpu for: psql
10m         Warning   FailedCreate   job/postgres-initdb                     Error creating: pods "postgres-initdb-2k5cg" is forbidden: failed quota: cpu-limit: must specify limits.cpu for: psql; requests.cpu for: psql
10m         Warning   FailedCreate   job/postgres-initdb                     Error creating: pods "postgres-initdb-kjclj" is forbidden: failed quota: cpu-limit: must specify limits.cpu for: psql; requests.cpu for: psql
9m47s       Warning   FailedCreate   job/postgres-initdb                     Error creating: pods "postgres-initdb-6nr42" is forbidden: failed quota: cpu-limit: must specify limits.cpu for: psql; requests.cpu for: psql
8m27s       Warning   FailedCreate   job/postgres-initdb                     Error creating: pods "postgres-initdb-txcrz" is forbidden: failed quota: cpu-limit: must specify limits.cpu for: psql; requests.cpu for: psql
5m47s       Warning   FailedCreate   job/postgres-initdb                     Error creating: pods "postgres-initdb-7xm5c" is forbidden: failed quota: cpu-limit: must specify limits.cpu for: psql; requests.cpu for: psql
27s         Warning   FailedCreate   job/postgres-initdb                     Error creating: pods "postgres-initdb-bwh7j" is forbidden: failed quota: cpu-limit: must specify limits.cpu for: psql; requests.cpu for: psql

Happens after updating to latest v0.13.0 release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions