AWS EKS ML
How to configure kubectl for an AWS EKS cluster with GPU support using the NVIDIA device plugin.
The following commands configure kubectl to connect to an AWS EKS cluster named ml-eks, deploy the NVIDIA GPU device plugin as a DaemonSet, and then verify which nodes have GPU resources available. Make sure you have the AWS CLI and kubectl installed, and that your AWS profile is configured correctly.
1
2
3
4
5
aws eks --region us-west-2 update-kubeconfig --name ml-eks --profile jan-toth-ml
kubectl apply -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.6.0/nvidia-device-plugin.yml
kubectl get nodes "-o=custom-columns=NAME:.metadata.name,GPU:.status.allocatable.nvidia\.com/gpu"
This post is licensed under CC BY 4.0 by the author.