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.
@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.
Type of issue
Outdated article
Feedback
Looking at this sentence below that originated in some form 7 years ago in the docs:
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.