Skip to content

Commit

Permalink
nerc-ocp-test: add node-feature-discovery bundle and resource
Browse files Browse the repository at this point in the history
  • Loading branch information
jtriley committed Jul 12, 2023
1 parent 27147a2 commit 4b03c1c
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cluster-scope/overlays/nerc-ocp-test/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ resources:
- ../../bundles/patch-operator
- externalsecrets/
- ../../bundles/rhods-operator
- ../../bundles/node-feature-discovery
- ../../bundles/nvidia-gpu-operator
- feature/odf
- machineconfigs/disable-net-ifnames
Expand All @@ -17,6 +18,7 @@ resources:
- nodenetworkconfigurationpolicies/vlan-2175-nese.yaml
- secretstores
- clusterpolicies
- nodefeaturediscoveries

patches:
- path: oauths/cluster_patch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- nfd-instance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
apiVersion: nfd.openshift.io/v1
kind: NodeFeatureDiscovery
metadata:
name: nfd-instance
namespace: openshift-nfd
spec:
customConfig:
configData: ""
instance: ""
operand:
image: registry.redhat.io/openshift4/ose-node-feature-discovery:v4.11
imagePullPolicy: Always
servicePort: 0
topologyupdater: false
workerConfig:
configData: |
core:
sleepInterval: 60s
sources:
cpu:
cpuid:
# NOTE: whitelist has priority over blacklist
attributeBlacklist:
- "BMI1"
- "BMI2"
- "CLMUL"
- "CMOV"
- "CX16"
- "ERMS"
- "F16C"
- "HTT"
- "LZCNT"
- "MMX"
- "MMXEXT"
- "NX"
- "POPCNT"
- "RDRAND"
- "RDSEED"
- "RDTSCP"
- "SGX"
- "SSE"
- "SSE2"
- "SSE3"
- "SSE4.1"
- "SSE4.2"
- "SSSE3"
attributeWhitelist:
kernel:
configOpts:
- "NO_HZ"
- "X86"
- "DMI"
pci:
deviceClassWhitelist:
- "0200"
- "0300"
- "0302"
deviceLabelFields:
- "vendor"
- "class"

0 comments on commit 4b03c1c

Please sign in to comment.