Before working with GPUs, ensure you are familiar with the following:
Kommander also accesses GPU resources.
Install GPU support on supported distributions on AWS
Using the Konvoy Image Builder, you can build an image that has support to use Nvidia GPU hardware to support GPU workloads.
-
In your
overrides/nvidia.yamlfile add the following to enable GPU builds. You can also access and use the overrides repo.gpu: type: nvidia -
Build your image using the following Konvoy image builder commands:
konvoy-image build --region us-west-2 --source-ami=ami-12345abcdef images/ami/centos-7.yaml --overrides overrides/nvidia.yamlBy default, your image builds in the
us-west-2region. To specify another region, set the--regionflag:konvoy-image build --region us-east-1 --overrides override-source-ami.yaml images/ami/<Your OS>.yamlWhen the command is complete the
amiid is printed and written to./manifest.json.To use the built
amiwith Konvoy, specify it with the--amiflag when calling cluster create.dkp create cluster aws --cluster-name=$(whoami)-aws-cluster --region us-west-2 --ami <ami>
Konvoy Documentation