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
I'd like to extend the metrics for the builtin ResourceQuota (so we can make alerts if a namespace get close to the max and it starts to cause issues).
I tried to add these using the custom resources, yet I cannot enter an empty apiGroup in the groupVersionKind. That results in 'config.go:183] "failed to resolve GVK" err="group is required in the defined GVK /v1, Kind=ResourceQuota" gvk="_v1_ResourceQuota"'. I've also tried using group 'core', but that results in RBAC errors as the group really is "".
How can I add metrics like these to a standard resource? I suppose the alternative is sending a PR, but especially for this resource which can be easily extended with additional quotas for non-standard limits like GPUs that would be a significant maintenance burden on this project.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'd like to extend the metrics for the builtin ResourceQuota (so we can make alerts if a namespace get close to the max and it starts to cause issues).
I tried to add these using the custom resources, yet I cannot enter an empty apiGroup in the groupVersionKind. That results in 'config.go:183] "failed to resolve GVK" err="group is required in the defined GVK /v1, Kind=ResourceQuota" gvk="_v1_ResourceQuota"'. I've also tried using group 'core', but that results in RBAC errors as the group really is
""
.How can I add metrics like these to a standard resource? I suppose the alternative is sending a PR, but especially for this resource which can be easily extended with additional quotas for non-standard limits like GPUs that would be a significant maintenance burden on this project.
customresources config file:
Beta Was this translation helpful? Give feedback.
All reactions