Skip to content

Commit

Permalink
by-hand backport of GPU operator version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
nobuto-m committed Jun 9, 2022
1 parent 3a6a40b commit e5bfd59
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion microk8s-resources/actions/enable.gpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@ sudo touch ${SNAP_DATA}/var/lock/gpu

echo "Installing NVIDIA Operator"

ENABLE_INTERNAL_DRIVER="true"

"$SNAP/microk8s-helm3.wrapper" repo add nvidia https://nvidia.github.io/gpu-operator
"$SNAP/microk8s-helm3.wrapper" repo update
"$SNAP/microk8s-helm3.wrapper" install gpu-operator nvidia/gpu-operator \
--create-namespace \
--namespace gpu-operator-resources \
--version=v1.10.1 \
--set operator.defaultRuntime=containerd \
--set toolkit.version=1.4.4-ubuntu18.04 \
--set driver.enabled=$ENABLE_INTERNAL_DRIVER \
--set toolkit.env[0].name=CONTAINERD_CONFIG \
--set toolkit.env[0].value=$CONFIG \
--set toolkit.env[1].name=CONTAINERD_SOCKET \
Expand Down

0 comments on commit e5bfd59

Please sign in to comment.