Skip to content

Commit

Permalink
Add node-feature-discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
lambchop4prez committed Oct 12, 2023
1 parent a7b6139 commit 112880e
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 0 deletions.
1 change: 1 addition & 0 deletions cluster/core/kube-system/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- nfs-subdir-external-provisioner
- node-feature-discovery
58 changes: 58 additions & 0 deletions cluster/core/kube-system/node-feature-discovery/helm-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: node-feature-discovery
namespace: kube-system
spec:
interval: 15m
chart:
spec:
# renovate: registryUrl=https://kubernetes-sigs.github.io/node-feature-discovery/charts
chart: node-feature-discovery
version: 0.11.0
sourceRef:
kind: HelmRepository
name: node-feature-discovery-charts
namespace: flux-system
install:
createNamespace: true
crds: CreateReplace
upgrade:
crds: CreateReplace
values:
nodeFeatureRule:
createCRD: true
worker:
config:
core:
labelSources:
- cpu
- custom
- pci
- usb
sources:
usb:
deviceClassWhitelist:
- "02"
- "03"
- "0e"
- "ef"
- "fe"
- "ff"
deviceLabelFields:
- class
- vendor
- device
custom:
- name: intel-gpu
matchOn:
- pciId:
class: ["0300"]
vendor: ["8086"]
- name: dvb-tuner
matchOn:
- usbId:
class: ["ff"]
vendor: ["2040"]
device: ["826d"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml

0 comments on commit 112880e

Please sign in to comment.