Skip to content

Commit

Permalink
clarification for ResourceQuota concept
Browse files Browse the repository at this point in the history
  • Loading branch information
pegasas committed Aug 23, 2023
1 parent 62c862b commit e4d1341
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/en/docs/concepts/policy/resource-quotas.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Here is an example set of resources users may want to put under object count quo
The same syntax can be used for custom resources.
For example, to create a quota on a `widgets` custom resource in the `example.com` API group, use `count/widgets.example.com`.

When using `count/*` resource quota, an object is charged against the quota if it exists in server storage.
When using `count/*` resource quota for certain resources type, an object is charged against the quota if it exists in server storage.
These types of quotas are useful to protect against exhaustion of storage resources. For example, you may
want to limit the number of Secrets in a server given their large size. Too many Secrets in a cluster can
actually prevent servers and controllers from starting. You can set a quota for Jobs to protect against
Expand All @@ -194,6 +194,8 @@ created in a single namespace that are not terminal. You might want to set a `po
quota on a namespace to avoid the case where a user creates many small pods and
exhausts the cluster's supply of Pod IPs.

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

## Quota Scopes

Each quota can have an associated set of `scopes`. A quota will only measure usage for a resource if it matches
Expand Down

0 comments on commit e4d1341

Please sign in to comment.