Last active
November 6, 2021 07:27
-
-
Save janakiramm/f59ccc80d59aa6d44a5503404514ccdb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add NVIDIA repo and refresh Helm | |
helm repo add nvidia https://nvidia.github.io/gpu-operator && helm repo update | |
# install GPU operator Helm chart | |
helm install --wait --generate-name \ | |
nvidia/gpu-operator $HELM_OPTIONS \ | |
--set operator.defaultRuntime=containerd \ | |
--set toolkit.env[0].name=CONTAINERD_CONFIG \ | |
--set toolkit.env[0].value=$CONTAINERD_CONFIG \ | |
--set toolkit.env[1].name=CONTAINERD_SOCKET \ | |
--set toolkit.env[1].value=$CONTAINERD_SOCKET \ | |
--set toolkit.env[2].name=CONTAINERD_RUNTIME_CLASS \ | |
--set toolkit.env[2].value=nvidia \ | |
--set toolkit.env[3].name=CONTAINERD_SET_AS_DEFAULT \ | |
--set-string toolkit.env[3].value=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment