Skip to content

Commit

Permalink
Update content/en/docs/concepts/policy/resource-quotas.md
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Bannister <tim@scalefactory.com>
  • Loading branch information
pegasas and sftim committed Apr 3, 2024
1 parent d7cdaf6 commit efed6fd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion content/en/docs/concepts/policy/resource-quotas.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,11 @@ Here is an example set of resources users may want to put under object count quo
* `count/jobs.batch`
* `count/cronjobs.batch`

The same syntax can be used for custom resources.
If you define a quota this way, it applies to Kubernetes' APIs that are part of the API server, and
to any custom resources backed by a CustomResourceDefinition. If you use [API aggregation](/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/) to
add additional, custom APIs that are not defined as CustomResourceDefinitions, the core Kubernetes
control plane does not enforce quota for the aggregated API. The extension API server is expected to
provide quota enforcement if that's appropriate for the custom API.
For example, to create a quota on a `widgets` custom resource in the `example.com` API group, use `count/widgets.example.com`.

When using such a resource quota (nearly for all object kinds), an object is charged
Expand Down

0 comments on commit efed6fd

Please sign in to comment.