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
Explicitly state the lack of support for 'Requests' for the purposes of scheduling #7443
Conversation
@@ -603,6 +603,8 @@ type ResourceRequirements struct { | |||
// Limits describes the maximum amount of compute resources required. | |||
Limits ResourceList `json:"limits,omitempty" description:"Maximum amount of compute resources allowed"` | |||
// Requests describes the minimum amount of compute resources required. | |||
// Note: 'Requests' are honored only for Persistent Volumes as of now. | |||
// TODO: Update the scheduler to use 'Requests' instead of 'Limits' for the purposes of scheduling. |
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.
Would be useful to put this in all types.go files, and also in the description tag.
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.
Align the TODO with the resources.md document:
TODO: Update the scheduler to use Requests
in addition to Limits
. "If Request is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value"
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.
Done.
PTAL |
Lgtm |
LGTM |
Now that we have, api/v1/types.go, can you please update that as well? |
@nikhiljindal: Done. |
And the description? |
Done. On Mon, May 4, 2015 at 1:35 PM, Brian Grant notifications@github.com
|
LGTM, thanks. |
Explicitly state the lack of support for 'Requests' for the purposes of scheduling
#7355