Skip to content

Policy Quick Start ​

This guide walks you through limiting resource usage per namespace and setting container defaults.


Set a Resource Quota ​

To cap total CPU, memory, and object counts for a namespace:

  1. Go to Container app → Policy → Resource Quotas.

  2. Click Create Resource Quota.

  3. Fill in the required fields:

    FieldDescription
    NameQuota name
    NamespaceTarget namespace
    CPU LimitTotal CPU cap (e.g. 4)
    Memory LimitTotal memory cap (e.g. 8Gi)
    PodsMaximum number of Pods (e.g. 20)
  4. Click Create.

  5. Monitor Used / Limit usage in the Resource Quotas list.


Configure a Limit Range ​

To automatically inject default CPU and memory values for new containers in a namespace:

  1. Go to Policy → Limit Ranges → Create Limit Range.

  2. Fill in the required fields:

    FieldDescription
    NameLimit Range name
    NamespaceTarget namespace
    CPU Default LimitDefault CPU limit for containers (e.g. 500m)
    Memory Default LimitDefault memory limit for containers (e.g. 512Mi)
  3. Click Create.

  4. New containers in this namespace automatically receive the default limits.


Next steps

The New Standard for AI Infrastructure