Skip to content

Commit

Permalink
Update resource-quotas.md
Browse files Browse the repository at this point in the history
## Description

This PR addresses a clarity issue in the documentation regarding the usage of the `count/*` syntax for object count quotas. The current description might lead to confusion about the syntax and its distinction with other forms. 

The proposed changes reword the relevant section to provide a more accurate and straightforward understanding of how to use `count/*` syntax and differentiate between different resource types.

## Changes Made

- Reworded the section about object count quotas to emphasize the correct syntax usage.
- Clarified the distinction between `count/<resource>.<group>` and `count/<resource>` for different resource types.
- Ensured the language is consistent with the context and style of the surrounding documentation.

## Impact

These changes aim to improve the clarity and accuracy of the documentation. Users will have a better understanding of how to use the `count/*` syntax for object count quotas and the nuances associated with it.

## Additional Notes

- This PR is related to Issue kubernetes#42605.
  • Loading branch information
whitebeard10 authored Aug 19, 2023
1 parent 352590a commit 7a75850
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/en/docs/concepts/policy/resource-quotas.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,11 @@ Refer to [Logging Architecture](/docs/concepts/cluster-administration/logging/)

## Object Count Quota

You can set quota for the total number of certain resources of all standard,
namespaced resource types using the following syntax:
You can set quotas for the total number of certain resources using the count/* syntax.
This syntax applies to various standard, namespaced resource types:

* `count/<resource>.<group>` for resources from non-core groups
* `count/<resource>` for resources from the core group
* `count/<resource>.<group>` syntax is used for resources from non-core groups.
* `count/<resource>` syntax is used for resources from the core group.

Here is an example set of resources users may want to put under object count quota:

Expand Down

0 comments on commit 7a75850

Please sign in to comment.