Last active
September 24, 2020 09:53
-
-
Save sadysnaat/4bf7e08685b2f9f46ef532af31fccf62 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Download the git repository | |
# This repository contains the code and manifest file | |
# for device driver installer and | |
# device plugin | |
git clone -b spectro-gpu https://github.com/spectrocloud/container-engine-accelerators/ | |
cd nvidia-driver-installer/ubuntu/1804 | |
# First we label the nodes with GPU, | |
# so that we can schedule device driver installer and device plugin on nodes. | |
kubectl label nodes <gpu enabled node name> spectrocloud.com/gpu-accelerator="" | |
# Once the nodes are labeled we can apply | |
# device driver installer manifest | |
kubectl create -f spectro-nvidia-installer.yaml | |
# device plugin manifest | |
kubectl create -f plugin.yaml | |
# and a sample cuda workload | |
kubectl create -f spectro-cuda-add.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment