Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

operator: specify resource requirements for operator pod #1067

@pohly

Description

@pohly

operator-sdk 1.16.0 adds a new "best practices" check. That one warns about our bundle:

$ _work/bin/operator-sdk bundle validate --select-optional=name=good-practices deploy/olm-bundle/1.0.2/
WARN[0000] Warning: Value pmem-csi-operator.v1.0.2: unable to find the resource requests for the container: (pmem-csi-operator). It is recommended to ensure the resource request for CPU and Memory. Be aware that for some clusters configurations it is required to specify requests or limits for those values. Otherwise, the system or quota may reject Pod creation. More info: https://master.sdk.operatorframework.io/docs/best-practices/managing-resources/ 
INFO[0000] All validation tests have completed successfully 

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