When setting resource quotas, if you set anything related to CPU or Memory (i.e. limits or reservations) on a project / namespace, all containers will require a respective CPU or Memory field set during creation. See the for more details on why this is required.

To avoid setting these limits on each and every container during workload creation, a default container resource limit can be specified on the namespace.

Edit container default resource limit when:

  • You want to edit the default container resource limit.
  1. From the Global view, open the cluster containing the project to which you want to edit the container default resource limit.
  2. Find the project that you want to edit the container default resource limit. From that project, select ⋮ > Edit.
  3. Expand Container Default Resource Limit and edit the values.

When the default container resource limit is set at a project level, the parameter will be propagated to any namespace created in the project after the limit has been set. For any existing namespace in a project, this limit will not be automatically propagated. You will need to manually set the default container resource limit for any existing namespaces in the project in order for it to be used when creating any containers.

Once a container default resource limit is configured on a namespace, the default will be pre-populated for any containers created in that namespace. These limits/reservations can always be overridden during workload creation.

The following resource limits can be configured: