Setting Resource Requests and Limits
Resource requests and limits in Kubernetes specify the minimum and maximum amount of CPU and memory a container requires to run. Resource requests are used for scheduling containers on nodes with sufficient resources, while limits enforce resource quotas and prevent containers from consuming too much. These settings can be configured at the pod or container level using the resources field in YAML. It’s important to set resource requests and limits correctly to ensure optimal resource utilization in your Kubernetes cluster.
Learn more from the following resources: