Skip to content

feat: Add GPUs to nodes view #3424

@NirLevy98

Description

@NirLevy98

Is your feature request related to a problem? Please describe.
Currently, when viewing nodes in k9s, there's no visibility into GPU resources, which are critical for ML/AI workloads.

Describe the solution you'd like
Add a GPU column to the nodes view that displays GPU allocation in the format allocated/capacity type. The column should:
Show GPU allocation status: 2/8 nvidia (2 allocated out of 8 total NVIDIA GPUs)
Display 0 for nodes without GPUs

Image

Describe alternatives you've considered
Manually describing each node and searching for the “allocated” field.

Additional context
I wrote the code that implements this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestin-progressMark issue as being worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions