Skip to content

Commit

Permalink
Merge pull request #645 from OCP-on-NERC/ocp-prod-odf-gpu-tolerations
Browse files Browse the repository at this point in the history
prod: add GPU tolerations to the ODF daemonset
  • Loading branch information
jtriley authored Jan 30, 2025
2 parents 4155207 + 873db24 commit 723df5d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
apiVersion: v1
data:
CSI_ENABLE_CSIADDONS: "true"
CSI_LOG_LEVEL: "5"
CSI_PLUGIN_TOLERATIONS: |2-
- key: node.ocs.openshift.io/storage
operator: Equal
value: "true"
effect: NoSchedule
- key: nvidia.com/gpu.product
operator: Equal
value: "Tesla-V100-PCIE-32GB"
effect: NoSchedule
- key: nvidia.com/gpu.product
operator: Equal
value: "NVIDIA-A100-SXM4-40GB"
effect: NoSchedule
CSI_PROVISIONER_TOLERATIONS: |2-
- key: node.ocs.openshift.io/storage
operator: Equal
value: "true"
effect: NoSchedule
- key: nvidia.com/gpu.product
operator: Equal
value: "Tesla-V100-PCIE-32GB"
effect: NoSchedule
- key: nvidia.com/gpu.product
operator: Equal
value: "NVIDIA-A100-SXM4-40GB"
effect: NoSchedule
ROOK_CSI_ENABLE_CEPHFS: "false"
kind: ConfigMap
metadata:
name: rook-ceph-operator-config
namespace: openshift-storage
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ resources:
- ../../../../bundles/odf-external
- externalsecrets/rook-ceph-external-cluster-details.yaml
- redhatcop.redhat.io/odf-node-patcher.yaml
- configmaps/rook-ceph-operator-config.yaml

patches:
- path: storageclasses/ocs-external-storagecluster-ceph-rbd_patch.yaml
Expand Down

0 comments on commit 723df5d

Please sign in to comment.