Create a Pod with Guaranteed QoS Under ResourceQuota Limits
Understand ResourceQuota limits and create a Pod with Guaranteed QoS class that uses half of the namespace's allocated resources.
Scenario
In the prod namespace, a ResourceQuota has been created that defines resource limits for the namespace.
Check the ResourceQuota in the prod namespace to determine the CPU and memory limits that are set.
Then, create a Pod named redis-pod using the image redis:latest.
Set the CPU and memory limits of the Pod to half of the limits defined in the ResourceQuota, and ensure that the Pod is configured under the Guaranteed QoS class.
Hint
- For Guaranteed QoS: Set
requests.cpu = limits.cpuandrequests.memory = limits.memory - Resource Quotas
- QoS Classes