Skip to content

Missing resource limits in spec for yugabyted-ui containers. #217

@Malexandra-de

Description

@Malexandra-de

Our Kubernetes cluster enforces the presence of resource limits on container specs. These can be specified via the helm chart for every container, except for the yugabyted-ui containers. See, here:

- name: yugabyted-ui

This leads to the deployment of Yugabyte with the UI enabled failing

$ kubectl get events
LAST SEEN   TYPE      REASON         OBJECT                   MESSAGE
22s         Warning   FailedCreate   statefulset/yb-master    create Pod yb-master-0 in StatefulSet yb-master failed error: admission webhook "validation.gatekeeper.sh" denied the request: [container-ephemeral-storage-limit] container <yugabyted-ui> has no resource limits...
22s         Warning   FailedCreate   statefulset/yb-tserver   create Pod yb-tserver-0 in StatefulSet yb-tserver failed error: admission webhook "validation.gatekeeper.sh" denied the request: [container-ephemeral-storage-limit] container <yugabyted-ui> has no resource limits...

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