Skip to content

Commit

Permalink
Updated NFD rules
Browse files Browse the repository at this point in the history
Signed-off-by: solidDoWant <[email protected]>
  • Loading branch information
solidDoWant committed Feb 21, 2024
1 parent 671dcf8 commit 213798b
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 19 deletions.
2 changes: 1 addition & 1 deletion cluster/apps/home-monitoring/nut/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
hostPath: /dev/bus/usb/002/003
mountPath: /dev/bus/usb/002/003
nodeSelector:
feature.node.kubernetes.io/custom-rack-ups: "true"
ups.feature.node.kubernetes.io/rack: "true"
config:
files:
nut.conf: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: feature.node.kubernetes.io/custom-intel-gpu
- key: intel.feature.node.kubernetes.io/quicksync
operator: In
values:
- "true"
44 changes: 28 additions & 16 deletions cluster/apps/kube-system/node-feature-discovery/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,35 @@ spec:
- vendor
- device
custom:
- name: "intel-gpu"
matchOn:
- pciId:
class: ["0300"]
vendor: ["8086"]
- name: "amd-gpu"
matchOn:
- pciId:
- name: "intel-quicksync"
labels:
intel.feature.node.kubernetes.io/quicksync: "true"
matchFeatures:
- feature: pci.device
matchExpressions:
class:
- "0300"
op: In
value:
- "0300"
vendor:
- "1002"
op: In
value:
- "8086"
- name: "rack-ups"
labels:
ups: "rack-ups"
matchOn:
- usbId:
class: ["03"]
vendor: ["10af"]
device: ["0001"]
ups.feature.node.kubernetes.io/rack: "true"
matchFeatures:
- feature: usb.device
matchExpressions:
class:
op: In
value:
- "03"
vendor:
op: In
value:
- "10af"
device:
op: In
value:
- "0001"
2 changes: 1 addition & 1 deletion cluster/apps/media/jellyfin/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
readOnly: true

nodeSelector:
feature.node.kubernetes.io/custom-intel-gpu: "true"
intel.feature.node.kubernetes.io/quicksync: "true"
resources:
limits:
gpu.intel.com/i915: 1
Expand Down

0 comments on commit 213798b

Please sign in to comment.