8.5.4. Project-level limits
To help control overcommit, you can set per-project resource limit ranges, specifying memory and CPU limits and defaults for a project that overcommit cannot exceed.
For information on project-level resource limits, see the Additional resources section.
Alternatively, you can disable overcommitment for specific projects.
8.5.4.1. Disabling overcommitment for a project 링크 복사링크가 클립보드에 복사되었습니다!
If overcommitment is enabled on a project, you can disable overcommitment for that projects. This allows infrastructure components to be configured independently of overcommitment.
Procedure
- Create or edit the namespace object file.
Add the following annotation:
apiVersion: v1 kind: Namespace metadata: annotations: quota.openshift.io/cluster-resource-override-enabled: "false" # ...where:
metadata.annotations.quota.openshift.io/cluster-resource-override-enabled.false- Specifies that overcommit is disabled for this namespace.