-
Notifications
You must be signed in to change notification settings - Fork 550
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
[CapacityScheduling] ElasticQuota default value for "max" is zero #424
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
I agree with this issue. When I create ElasticQuota like this,
and create pod having this resource,
then max of this ElasticQuota is calculated like this(same as min).
I guess this is unintended behavior. |
@denkensk would you like to shed some light here? I suppose if the KEP says "not specifying max is infinite", we should honor that in the impl. /remove-lifecycle rotten |
/assign |
Hello everyone,
When creating an
ElasticQuota
resource, if the "max" field is not provided then its default value is zero. Is this the intended behavior? Quoting KEP 9 - Capacity Scheduling: "Max is infinite by default, min is 0 by default", so I was expecting the plugin to threat the max field as "infinite" when the custom resource does not specify it.Having the max field with "infinite" as the default value would be helpful in those cases where someone needs to define just the minimum resources that need to be guaranteed to a namespace, without specifying any upper limit constraint. In such a case, I would like to create the
ElasticQuota
resource as follows, without specifying any value for the max field:#424 (comment)
The text was updated successfully, but these errors were encountered: