-
Notifications
You must be signed in to change notification settings - Fork 542
Divide resource Requests and Limits #5945
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
base: master
Are you sure you want to change the base?
Divide resource Requests and Limits #5945
Conversation
|
Please add verification steps for the benchmark |
| CPUS_PER_POD = flags.DEFINE_string( | ||
| 'kubernetes_scale_pod_cpus', '250m', 'CPU limit per pod' | ||
| REQUEST_CPUS_PER_POD = flags.DEFINE_string( | ||
| 'kubernetes_scale_min_pod_cpus', '250m', 'Min CPU limit per pod' |
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.
No real need to change the flag name. It's somewhat inconvenient on my end as I then need to modify the scheduling code we have to change this as well. Updating the description is sufficient documentation.
| MEMORY_PER_POD = flags.DEFINE_string( | ||
| 'kubernetes_scale_pod_memory', '250M', 'Memory limit per pod' | ||
| LIMIT_CPUS_PER_POD = flags.DEFINE_string( | ||
| 'kubernetes_scale_max_pod_cpus', '250m', 'Max CPU limit per pod' |
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.
But I think we also chatted offline about just needing one number for both limits & requests, so will wait on the larger modification to give next review.
|
I returned the old names to the variables |
|
Fair enough, very small indeed but all that's needed. I'll approve & we can check back in with Rich when he's back as well. |
|
Per our chat conversation with Rich, this actually does not make sense right? Should it be reverted? |
|
After chat conversation with Rich, we have two options:
I can do it as we decide is more convenient. |
New variables responsible for Limits and Requests were created and changed.
A new Limits section was created in the Kubernetes manifest.