Skip to content

GPU label not added to nodes on Talos because i915 is built into the kernel #1688

@roosmaa

Description

@roosmaa

Describe the bug
The intel.feature.node.kubernetes.io/gpu label isn't being applied to the node with NFD on Talos linux.

To Reproduce
Steps to reproduce the behavior: install the gpu plugin on Talos linux.

Expected behavior
The intel.feature.node.kubernetes.io/gpu label is properly added to the nodes.

Screenshots
If applicable, add screenshots to help explain your problem.

System (please complete the following information):

  • OS version: Talos v1.6.6
  • Kernel version: 6.1.80-talos
  • Device plugins version: v0.29.0
  • Hardware info: i7-7700T with iGPU

Additional context
In Talos linux the i915 module is built into kernel. The NodeFeatureRule for intel.feature.node.kubernetes.io/gpu label relies on kernel.loadedmodule which doesn't include builtin modules. Instead the kernel.enabledmodule would be a better option to use in these selectors as it includes both builtin modules and loaded modules.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions