You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 17, 2025. It is now read-only.
*[Select namespaces based on their hierarchies](#use-select)
14
15
*[Delete a subnamespace](#use-subns-delete)
15
16
*[Organize full namespaces into a hierarchy](#use-full)
@@ -186,6 +187,17 @@ permissions. To understand why an object is not being propagated to a namespace,
186
187
use `kubectl hns describe <ns>`, where `<ns>` is either the source (ancestor) or
187
188
destination (descendant) namespace.
188
189
190
+
<aname="use-hrq"/>
191
+
192
+
### Limit Resources over parent namespaces
193
+
194
+
HNC has an object called `HierarchicalResourceQuota` which is a drop-in replacement for `ResourceQuota`
195
+
but across all the namespaces in a hierarchy. It allows you to distribute your resources between
196
+
teams, and those teams can distribute their resources between their subteams.
197
+
[Learn how it works](concepts.md#hierarchical-resource-quota) or see an [quickstart example](quickstart.md#hrq)
198
+
199
+
Note: Decimal point values cannot be specified in HRQ (you can't do `cpu: 1.5` but you can do `cpu: 1500m`). See [#292](https://github.com/kubernetes-sigs/hierarchical-namespaces/issues/292)
and you can delete the hrq via simply deleting the CR:
550
+
```bash
551
+
kubectl delete hrq acme-org-hrq -n acme-org
552
+
```
553
+
554
+
Note: Decimal point values cannot be specified (you can't do `cpu: 1.5` but you can do `cpu: 1500m`). See [#292](https://github.com/kubernetes-sigs/hierarchical-namespaces/issues/292)
555
+
461
556
<a name="subns"/>
462
557
463
558
### Subnamespaces deep dive
@@ -672,7 +767,7 @@ Of course, the annotation can also be part of the object when you create it:
0 commit comments