Skip to content

Conversation

@jinapurapu
Copy link
Contributor

Added CPU and memory resource request fields for Prometheus monitoring

Screenshot from 2022-01-12 16-03-03
Screenshot from 2022-01-12 16-05-20

Copy link
Collaborator

@dvaldivia dvaldivia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

memory needs a unit, if we request 2 the value should be 2Gi in the CRD, also if the storage class is empty don't attach it

  prometheus:
    diskCapacityGB: 5
    resources:
      requests:
        cpu: "2"
        memory: "2"
    storageClassName: ""

@jinapurapu jinapurapu force-pushed the monitoring-resource-selector branch from 5f26383 to 9a0b1e5 Compare January 13, 2022 20:29
Copy link
Collaborator

@dvaldivia dvaldivia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Tested.

Copy link
Collaborator

@cniackz cniackz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, just have a question, why the limit of requested CPUs is 10? Can it be 11?

@dvaldivia
Copy link
Collaborator

@cniackz that is a nice catch, why are we limiting to upper 10 @jinapurapu ? it's not hat critical, but it's good to know

@dvaldivia dvaldivia merged commit e374772 into minio:master Jan 14, 2022
@jinapurapu jinapurapu deleted the monitoring-resource-selector branch February 8, 2022 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants