Skip to content

Commit

Permalink
Merge pull request #648 from OCP-on-NERC/prod-nvidia-tolerations
Browse files Browse the repository at this point in the history
prod: add tolerations to clusterpolicy daemonset
  • Loading branch information
jtriley authored Jan 31, 2025
2 parents 36c6506 + 0899001 commit a310e5c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: nvidia.com/v1
kind: ClusterPolicy
metadata:
name: gpu-cluster-policy
spec:
daemonsets:
tolerations:
- effect: NoSchedule
key: nvidia.com/gpu.product
operator: Equal
value: NVIDIA-A100-SXM4-40GB
- effect: NoSchedule
key: nvidia.com/gpu.product
operator: Equal
value: Tesla-V100-PCIE-32GB
2 changes: 2 additions & 0 deletions nvidia-gpu-operator/overlays/nerc-ocp-prod/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ kind: Kustomization
namespace: nvidia-gpu-operator
resources:
- ../../base
patches:
- path: clusterpolicy/clusterpolicy_patch.yaml

0 comments on commit a310e5c

Please sign in to comment.