What
Add GPU as a supported resource type in the KKP dashboard, alongside the existing CPU, Memory and Storage fields, for both quota configuration and usage display.
Why
The backend now supports GPU quota tracking and enforcement (kubermatic/kubermatic#15699, closes kubermatic/kubermatic#15686, part of kubermatic/kubermatic#13888). The ResourceDetails API type has a new gpu field in spec.quota, status.globalUsage, and status.localUsage. The dashboard needs to expose this so admins can actually set and monitor GPU quotas.
Changes needed
Admin — Resource Quota panel
- Add a GPU input field when creating or editing a project resource quota (alongside CPU, Memory, Storage)
- Display the GPU quota limit in the quota overview table
Resource consumption view
- Show current GPU usage (
status.globalUsage.gpu) alongside CPU/Memory/Storage
- Show GPU usage as a percentage of the set quota (e.g.
4/8)
References
What
Add GPU as a supported resource type in the KKP dashboard, alongside the existing CPU, Memory and Storage fields, for both quota configuration and usage display.
Why
The backend now supports GPU quota tracking and enforcement (kubermatic/kubermatic#15699, closes kubermatic/kubermatic#15686, part of kubermatic/kubermatic#13888). The
ResourceDetailsAPI type has a newgpufield inspec.quota,status.globalUsage, andstatus.localUsage. The dashboard needs to expose this so admins can actually set and monitor GPU quotas.Changes needed
Admin — Resource Quota panel
Resource consumption view
status.globalUsage.gpu) alongside CPU/Memory/Storage4/8)References