Skip to content

Allow KnownGPUVendors customization #3439

@zulhfreelancer

Description

@zulhfreelancer

Is your feature request related to a problem? Please describe.
Thanks for adding GPUs to nodes view (link to issue). Would it be possible to allow k9s users to customize the KnownGPUVendors map (link to code)?

Describe the solution you'd like
My nodes have GPUs. But they are not prefixed with nvidia.com/gpu. I'm looking for ways to customize the KnownGPUVendors i.e. using k9s config file.

k9s:
  known_gpu_vendors: something.com/foo,something.net,foo.something.org,something.io/foo/bar

In this case, the list is comma separated. I'm fine with any separator/delimeter as long as it's not dot or slash.

If the .known_gpu_vendors is not defined, defaults to the hard coded map defined in current v0.50.7 release.

Describe alternatives you've considered
None

Additional context
None

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