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.

Procedure

  1. Go to your GitOps repository, inside your rok-tools management environment:

    root@rok-tools:~# cd ~/ops/deployments
    
  2. Apply the kustomization:

    root@rok-tools:~/ops/deployments# rok-deploy --apply rok/nvidia-device-plugin/overlays/deploy
    

Verify

  1. 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
    

Summary

You have successfully deployed the NVIDIA device plugin on your cluster.

What's Next

The next step is to expose running services in your cluster to the outside world.