Deploy NVIDIA Device Plugin¶
In this section you will deploy the NVIDIA device plugin for Kubernetes.
Note
This guide is optional. If you have not created a GPU-enabled node group or are not planning to create one, proceed to the What's Next section.
Fast Forward
If you have already deployed the NVIDIA device plugin, expand this box to fast-forward.
- Proceed to the Verify section.
Overview
What You'll Need¶
- A configured management environment.
- Your clone of the Arrikto GitOps repository.
- An existing Kubernetes cluster.
Procedure¶
Go to your GitOps repository, inside your
rok-tools
management environment:root@rok-tools:~# cd ~/ops/deployments
Apply the kustomization:
root@rok-tools:~/ops/deployments# rok-deploy --apply rok/nvidia-device-plugin/overlays/deploy
Verify¶
Verify that the NVIDIA device plugin is up-and-running. Verify that field READY is equal to field DESIRED:
root@rok-tools:~# kubectl get -n kube-system daemonset/nvidia-device-plugin-daemonset NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE nvidia-device-plugin-daemonset 2 2 2 2 2 <none> 38d
What's Next¶
The next step is to expose running services in your cluster to the outside world.