Skip to content

Auto tag gpu node

Diogo Filipe Tomas Guerra requested to merge auto-tag-gpu-node into master

This commit adds a new daemonset that tags the node with:

  • node-role.kubernetes.io/gpu="true" if it detects a nvidia gpu device in the PCI lane.

To do this it uses the /sys/devices/pci000:00 bus information and the known NVIDIA device vendor code to search for one or more elegible cards.

Edited by Diogo Filipe Tomas Guerra

Merge request reports