Skip to content
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

AKS Learn feedback: does HPA really need pod/container requests & limits? #123922

Öffnen Sie
mikaelweave opened this issue Jul 30, 2024 · 1 comment
Öffnen Sie

Kommentare

@mikaelweave
Copy link
Contributor

mikaelweave commented Jul 30, 2024

Type of issue

Outdated article

Feedback

Looking at this sentence below that originated in some form 7 years ago in the docs:

To use the horizontal pod autoscaler, all containers must have defined CPU requests and limits, and pods must have specified requests.

Do you actually need CPU requests + limits for containers and do pods need specified requests in a general sense? This sentence seems to apply to all HPA scenarios. Are requests/limits required to make the HPA function?

Looking at the kubernetes docs for HPA, it seems limits aren't required and requests are only required if using average utilization.

Page URL

https://learn.microsoft.com/en-us/azure/aks/tutorial-kubernetes-scale?tabs=azure-cli#autoscale-pods

Content source URL

https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/aks/tutorial-kubernetes-scale.md

Author

@schaffererin

Document Id

a113b8e9-259a-2a65-2e54-a2661c78ddb5


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@TPavanBalaji
Copy link
Contributor

@mikaelweave
Thank you for bringing this to our attention.
I've delegated this to content author, who will review it and offer their insightful opinions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants