Skip to content

Commit

Permalink
nerc-ocp-prod: Add RHOAI GPU accelereatorProfiles
Browse files Browse the repository at this point in the history
Adds unique acceleratorProfiles for each GPU type in production cluster.
These profiles will show up under accelerators in the RHOAI workbench wizard.

Part of: nerc-project/operations#849
Closes: nerc-project/operations#847
  • Loading branch information
dystewart committed Dec 11, 2024
1 parent b51d310 commit 96750d5
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: dashboard.opendatahub.io/v1
kind: AcceleratorProfile
metadata:
name: nvidia-a100-gpu
namespace: redhat-ods-applications
spec:
displayName: NVIDIA A100 GPU
enabled: true
identifier: nvidia.com/gpu
tolerations:
- effect: NoSchedule
key: nvidia.com/gpu.product
operator: Equal
value: NVIDIA-A100-SXM4-40GB
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- a100-acceleratorprofile.yaml
- v100-acceleratorprofile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: dashboard.opendatahub.io/v1
kind: AcceleratorProfile
metadata:
name: nvidia-v100-gpu
namespace: redhat-ods-applications
spec:
displayName: NVIDIA V100 GPU
enabled: true
identifier: nvidia.com/gpu
tolerations:
- effect: NoSchedule
key: nvidia.com/gpu.product
operator: Equal
value: Tesla-V100-PCIE-32GB
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ resources:
- odhdashboardconfigs/odh-dashboard-config.yaml
- imagestreams/ucsls-f24-imagestream.yaml
- imagestreams/oauth-proxy.yaml
- acceleratorprofiles

0 comments on commit 96750d5

Please sign in to comment.