-
Notifications
You must be signed in to change notification settings - Fork 514
Added Prometheus monitoring CPU and memory selector. #1387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Prometheus monitoring CPU and memory selector. #1387
Conversation
dvaldivia
left a comment
There was a problem hiding this 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: ""
5f26383 to
9a0b1e5
Compare
dvaldivia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Tested.
portal-ui/src/screens/Console/Tenants/TenantDetails/EditTenantMonitoringModal.tsx
Show resolved
Hide resolved
cniackz
left a comment
There was a problem hiding this 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?
|
@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 |
Added CPU and memory resource request fields for Prometheus monitoring