-
Notifications
You must be signed in to change notification settings - Fork 679
add resource #245
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
add resource #245
Conversation
wangzhen127
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.
Nit: can you fix the PR title: s/ad/add
| memory: 100Mi | ||
| requests: | ||
| cpu: 300m | ||
| memory: 100Mi |
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.
I tested v0.6.0 that the resource consumption is:
- CPU: 2m
- MEM: 30Mi
Maybe we should lower the numbers to something smaller, like cpu 10m and memory 50Mi to better reflect the resource consumption of NPD? WDYT?
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.
According to your test, it should be ok to run NPD with cpu 10m. I suggest we add more memory to avoid OOM. @wangzhen127
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.
Finanlly, cpu requests/limits is 10m, memory requests/limits is 80Mi.
a2c5861 to
7f536cd
Compare
|
/lgtm |
7f536cd to
8c7ef9d
Compare
|
@wangzhen127 Rebased. PTAL. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyxning, wangzhen127 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fix #240
The requests and limits are only references. They have no requirements. End users can adjust this themselves.
/cc @Random-Liu @wangzhen127