Skip to content

Commit 6a66166

Browse files
pegasasTim Bannister
andcommitted
Update content/en/docs/concepts/policy/resource-quotas.md
Co-authored-by: Tim Bannister <[email protected]>
1 parent 8bd2ee5 commit 6a66166

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/en/docs/concepts/policy/resource-quotas.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ Refer to [Logging Architecture](/docs/concepts/cluster-administration/logging/)
146146

147147
## Object Count Quota
148148

149-
You can set quota for the total number of certain resources of all standard,
150-
namespaced resource types using the following syntax:
149+
You can set quota for **the total number of one particular resource**
150+
for certain resources of all standard, namespaced resource types using the following syntax:
151151

152152
* `count/<resource>.<group>` for resources from non-core groups
153153
* `count/<resource>` for resources from the core group
@@ -168,14 +168,14 @@ Here is an example set of resources users may want to put under object count quo
168168
The same syntax can be used for custom resources.
169169
For example, to create a quota on a `widgets` custom resource in the `example.com` API group, use `count/widgets.example.com`.
170170

171-
When using `count/*` resource quota (only available for some object kinds), an object is charged
171+
When using such a resource quota (only available for some object kinds), an object is charged
172172
against the quota if the control plane has a stored copy.
173173
These types of quotas are useful to protect against exhaustion of storage resources. For example, you may
174174
want to limit the number of Secrets in a server given their large size. Too many Secrets in a cluster can
175175
actually prevent servers and controllers from starting. You can set a quota for Jobs to protect against
176176
a poorly configured CronJob. CronJobs that create too many Jobs in a namespace can lead to a denial of service.
177177

178-
It is also possible to do generic object count quota on a limited set of resources.
178+
There is another syntax only to set the same type of quota for certain resources.
179179
The following types are supported:
180180

181181
| Resource Name | Description |
@@ -195,7 +195,7 @@ created in a single namespace that are not terminal. You might want to set a `po
195195
quota on a namespace to avoid the case where a user creates many small pods and
196196
exhausts the cluster's supply of Pod IPs.
197197

198-
You can find more examples on [Viewing and Setting Quotas](/docs/concepts/policy/resource-quotas/#viewing-and-setting-quotas).
198+
You can find more examples on [Viewing and Setting Quotas](#viewing-and-setting-quotas).
199199

200200
## Quota Scopes
201201

0 commit comments

Comments
 (0)