Container Resource Allocation

When specify the resource request for containers in a Pod, the kube-scheduler uses this information to decide which node to place the Pod on.

When specify a resource limit for a container, the kubelet enforces those limits so that the running container is not allowed to use more of that resource than the limit prescribed.

Add Resource Allocation

Resource Limits

  1. CPU(M) : Provide value greater than 100
  2. Memory(Mi) : Provide value greater than 64

Resource Requests

  1. CPU(M)

    • Provide value greater than 100
    • Provide value less than or equal to CPU limit
  2. Memory(Mi)

    • Provide value greater than 64
    • Provide value less than or equal to memory limit
  3. Provide values and click on Save Changes button

Resource Allocation

Enabling Resource Limits

Disabling Resource Limits

Note:
1. CPU unit: m = millicpu
2. Memory unit: Mi = MiB = Mebibyte.