@ Hello Experts,
We have K8S env , could see pods resources (CPU and Memory) were configured only with Limits, without requests…
What’s best practice?,
I know that limit should be there to avoid over utilization…
But do we really need Requests to be set ?
kindly suggest , thanks!
yes requests are used for matching pods to nodes. you’d set it to minimum resource required for your containers to work without any issues. think of scheduler like placing pods into nodes like tetris. if no requests are set it’s an empty block so it can be placed anywhere but it has resource requirements so it may not run if node doesn’t have the resources you need
I’d say requests are more important than limits
Make sense, thanks for your detailed response!!