-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Maximum CPU recommendation for a pod #6487
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues 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. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten |
/area vertical-pod-autoscaler |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues 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. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten |
This may be fixed by #7560 (which is per container, not pod) |
Basically the same as Minimum CPU recommendation for a pod, just an additional upper bound:
autoscaler/vertical-pod-autoscaler/pkg/recommender/logic/recommender.go
Line 29 in ed6ebbe
Which component are you using?:
vertical-pod-autoscaler
Is your feature request designed to solve a problem? If so describe the problem this feature should solve.:
VPA currently suggests cpu too close to / above CPU on node, leading to pods not starting.
Describe the solution you'd like.:
Add
pod-recommendation-max-cpu-millicores
andpod-recommendation-max-memory-mb
flags, and cap recommendation to provided values. Maybe no upper limit by default.Describe any alternative solutions you've considered.:
Using policies to enforce the upper bound:
autoscaler/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1/types.go
Line 205 in ed6ebbe
Using LimitRange to enforce the upper bound: https://kubernetes.io/docs/concepts/policy/limit-range/
Additional context.:
Would be nice to define upper-bound a central place (controller), and not in policies LimitRanges.
The text was updated successfully, but these errors were encountered: