Skip to content

Commit

Permalink
Merge pull request #277 from OCP-on-NERC/ocp-prod-gpu-operators
Browse files Browse the repository at this point in the history
add operators for nvidia gpus
  • Loading branch information
jtriley authored Sep 19, 2023
2 parents b65225a + d62ca0b commit 33de1ee
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cluster-scope/overlays/nerc-ocp-prod/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ resources:
- ../../bundles/amq-streams-operator
- ../../bundles/openshift-pipelines-operator
- ../../bundles/rhods-operator
- ../../bundles/node-feature-discovery
- ../../bundles/nvidia-gpu-operator
- feature/odf
- feature/custom-routes
- ../../base/core/namespaces/openshift-gitops
Expand All @@ -29,6 +31,7 @@ resources:
- certificates
- consolelinks
- odhdashboardconfigs
- nodefeaturediscoveries

components:
- ../../components/argocd-skip-dryrun
Expand Down
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 33de1ee

Please sign in to comment.