Skip to content

Commit b6b30fa

Browse files
authored
Merge pull request #23795 from kaushik229/master
Limited resources in quota when scoped for priority class
2 parents 7e22ae5 + acbaf25 commit b6b30fa

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,19 @@ field in the quota spec.
208208

209209
A quota is matched and consumed only if `scopeSelector` in the quota spec selects the pod.
210210

211+
When quota is scoped for priority class using `scopeSelector` field, quota object is restricted to track only following resources:
212+
213+
* `pods`
214+
* `cpu`
215+
* `memory`
216+
* `ephemeral-storage`
217+
* `limits.cpu`
218+
* `limits.memory`
219+
* `limits.ephemeral-storage`
220+
* `requests.cpu`
221+
* `requests.memory`
222+
* `requests.ephemeral-storage`
223+
211224
This example creates a quota object and matches it with pods at specific priorities. The example
212225
works as follows:
213226

0 commit comments

Comments
 (0)