1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

OCPBUGS-26395: Swapped out extensions for apps in quotes-setting-per-project

This commit is contained in:
dfitzmau
2025-10-28 16:10:39 +00:00
committed by openshift-cherrypick-robot
parent 5b2189555d
commit c24c034ed7
5 changed files with 12 additions and 33 deletions

View File

@@ -28,7 +28,7 @@ For example:
[source,terminal]
----
$ oc create quota test \
--hard=count/deployments.extensions=2,count/replicasets.extensions=4,count/pods=3,count/secrets=4
--hard=count/deployments.apps=2,count/replicasets.apps=4,count/pods=3,count/secrets=4
----
+
.Example output
@@ -53,8 +53,8 @@ Name: test
Namespace: quota
Resource Used Hard
-------- ---- ----
count/deployments.extensions 0 2
count/deployments.apps 0 2
count/pods 0 3
count/replicasets.extensions 0 4
count/replicasets.apps 0 4
count/secrets 0 4
----

View File

@@ -6,21 +6,10 @@
[id="quota-enforcement_{context}"]
= Quota enforcement
After a resource quota for a project is first created, the project restricts the
ability to create any new resources that may violate a quota constraint until it
has calculated updated usage statistics.
After a resource quota for a project is first created, the project restricts the ability to create any new resources that may violate a quota constraint until it has calculated updated usage statistics.
After a quota is created and usage statistics are updated, the project accepts
the creation of new content. When you create or modify resources, your quota
usage is incremented immediately upon the request to create or modify the
resource.
After a quota is created and usage statistics are updated, the project accepts the creation of new content. When you create or modify resources, your quota usage is incremented immediately upon the request to create or modify the resource.
When you delete a resource, your quota use is decremented during the next full
recalculation of quota statistics for the project. A configurable amount of time
determines how long it takes to reduce quota usage statistics to their current
observed system value.
When you delete a resource, your quota use is decremented during the next full recalculation of quota statistics for the project. A configurable amount of time determines how long it takes to reduce quota usage statistics to their current observed system value.
If project modifications exceed a quota usage limit, the server denies the
action, and an appropriate error message is returned to the user explaining the
quota constraint violated, and what their currently observed usage statistics
are in the system.
If project modifications exceed a quota usage limit, the server denies the action, and an appropriate error message is returned to the user explaining the quota constraint violated, and what their currently observed usage statistics are in the system.

View File

@@ -6,12 +6,6 @@
[id="quotas-requests-vs-limits_{context}"]
= Requests versus limits
When allocating compute resources, each container might specify a request and a
limit value each for CPU, memory, and ephemeral storage. Quotas can restrict any
of these values.
When allocating compute resources, each container might specify a request and a limit value each for CPU, memory, and ephemeral storage. Quotas can restrict any of these values.
If the quota has a value specified for `requests.cpu` or `requests.memory`,
then it requires that every incoming container make an explicit request for
those resources. If the quota has a value specified for `limits.cpu` or
`limits.memory`, then it requires that every incoming container specify an
explicit limit for those resources.
If the quota has a value specified for `requests.cpu` or `requests.memory`, then it requires that every incoming container make an explicit request for those resources. If the quota has a value specified for `limits.cpu` or `limits.memory`, then it requires that every incoming container specify an explicit limit for those resources.

View File

@@ -6,12 +6,9 @@
[id="quotas-scopes_{context}"]
= Quota scopes
Each quota can have an associated set of _scopes_. A quota only measures usage
for a resource if it matches the intersection of enumerated scopes.
Each quota can have an associated set of _scopes_. A quota only measures usage for a resource if it matches the intersection of enumerated scopes.
Adding a scope to a quota restricts the set of resources to which that quota can
apply. Specifying a resource outside of the allowed set results in a validation
error.
Adding a scope to a quota restricts the set of resources to which that quota can apply. Specifying a resource outside of the allowed set results in a validation error.
|===

View File

@@ -6,8 +6,7 @@
[id="quota-viewing-quotas_{context}"]
= Viewing a quota
You can view usage statistics related to any hard limits defined in a project's
quota by navigating in the web console to the project's *Quota* page.
You can view usage statistics related to any hard limits defined in a quota for a project by navigating in the web console to the project's *Quota* page.
You can also use the CLI to view quota details.