-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #277 from OCP-on-NERC/ocp-prod-gpu-operators
add operators for nvidia gpus
- Loading branch information
Showing
3 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
cluster-scope/overlays/nerc-ocp-prod/nodefeaturediscoveries/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
60 changes: 60 additions & 0 deletions
60
cluster-scope/overlays/nerc-ocp-prod/nodefeaturediscoveries/nfd-instance.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |