These instructions show how to prepare a node so Kommander can launch GPU services on the node.
You can prepare a node in the following ways:
Before you begin
This procedure requires the following items and configurations before you begin:
-
Nodes must provide an Nvidia GPU.
-
For AWS select a GPU instance type from the Accelerated Computing section of the AWS instance types.
-
Nodes must run CentOS 7.
Use Konvoy 2 on AWS
To provision GPU nodes using Konvoy 2 on AWS:
-
Use
konvoy-image-builder
to create an Amazon AMI with the GPU override. -
Begin the Konvoy Installation up to and including the
dkp create cluster aws
command. -
Edit the
${CLUSTER_NAME}.yaml
file:- Update the
instanceType
of the worker node pool to an instance type that provides Nvidia GPUs, for examplep2.xlarge
. - Add an
ami.id
to reference the image generated bykonvoy-image-builder
. In this simplified example, we use AMI IDami-0d931a15fdf46f14f
, you should substitute the one from the konvoy-image-builder output.
- Update the
-
Continue the Konvoy Installation.
Manual Deployment
For clusters not covered in the previous procedure, run the following commands on each GPU node to configure the drivers:
CentOS 7
Verification
Verify that the Nvidia driver is working by running:
When drivers are successfully installed the display will look like the following: