Skip to content

Commit

Permalink
nerc-ocp-prod: Fix None acceleratorProfile in RHOAI
Browse files Browse the repository at this point in the history
Addresses: nerc-project/operations#685

In #566 we tested this clusterpolicy config change with success. This PR will bring the change to the prod RHOAI installation.
  • Loading branch information
dystewart committed Jan 14, 2025
1 parent db9c029 commit ef60797
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: nvidia.com/v1
kind: ClusterPolicy
metadata:
name: gpu-cluster-policy
spec:
toolkit:
env:
- name: ACCEPT_NVIDIA_VISIBLE_DEVICES_ENVVAR_WHEN_UNPRIVILEGED
value: 'false'
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 ef60797

Please sign in to comment.