Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

ns describe quota used not update #275

Closed
@j0rGeT

Description

@j0rGeT

I found that when the hrq quota is used, the quota information used in describe ns is not updated. After the quota used in the child ns is updated, the value of used in the parent ns is still 0。

parent-ns:

root@saar-virtual-machine:~# kubectl describe ns kubecube-workspace-workspacez5
Name:         kubecube-workspace-workspacez5

Resource Quotas
 Name:                    hrq.hnc.x-k8s.io
 Resource                 Used  Hard
 --------                 ---   ---
 limits.cpu               0     2
 limits.memory            0     500Mi
 requests.cpu             0     2
 requests.memory          0     500Mi
 requests.nvidia.com/gpu  0     0`

sub-ns:

root@saar-virtual-machine:~# kubectl describe ns kubecube-project-projectz1
Name:         kubecube-project-projectz1
Status:       Active

Resource Quotas
 Name:                    hrq.hnc.x-k8s.io
 Resource                 Used  Hard
 --------                 ---   ---
 limits.cpu               1     2
 limits.memory            100M  500Mi
 requests.cpu             1     2
 requests.memory          100M  500Mi
 requests.nvidia.com/gpu  0     0

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions