@@ -146,8 +146,8 @@ Refer to [Logging Architecture](/docs/concepts/cluster-administration/logging/)
146
146
147
147
## Object Count Quota
148
148
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:
151
151
152
152
* ` count/<resource>.<group> ` for resources from non-core groups
153
153
* ` 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
168
168
The same syntax can be used for custom resources.
169
169
For example, to create a quota on a ` widgets ` custom resource in the ` example.com ` API group, use ` count/widgets.example.com ` .
170
170
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
172
172
against the quota if the control plane has a stored copy.
173
173
These types of quotas are useful to protect against exhaustion of storage resources. For example, you may
174
174
want to limit the number of Secrets in a server given their large size. Too many Secrets in a cluster can
175
175
actually prevent servers and controllers from starting. You can set a quota for Jobs to protect against
176
176
a poorly configured CronJob. CronJobs that create too many Jobs in a namespace can lead to a denial of service.
177
177
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.
179
179
The following types are supported:
180
180
181
181
| Resource Name | Description |
@@ -195,7 +195,7 @@ created in a single namespace that are not terminal. You might want to set a `po
195
195
quota on a namespace to avoid the case where a user creates many small pods and
196
196
exhausts the cluster's supply of Pod IPs.
197
197
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 ) .
199
199
200
200
## Quota Scopes
201
201
0 commit comments