Intel Gaudi Device Plugin for Kubernetes

For details on Intel Gaudi device plugin for Kubernetes, refer to Intel Gaudi Device Plugin for Kubernetes.

For deployment of the device plugin, the associated .yaml file can be used to setup the environment:

oc create -f https://vault.habana.ai/artifactory/docker-k8s-device-plugin/habana-k8s-device-plugin.yaml

You must assign proper permissions to habana-system namespace for the pod to run in habana-system namespace.

oc adm policy add-scc-to-user privileged -z default -n habana-system

Expected output:

habanalabs-device-plugin-daemonset 1 1 1 1 1 <none> 155m

Note

  • The above expected output might be slightly different from your output as it highly depends on the syntax of the running command.

  • Make sure the output includes 1 1 1 1 1. Having a 0 in the range output implies that the plugin is not functioning properly.

In case the output is completely different, verify the plugin is functioning properly by running the following:

oc get ds -A | grep habana

Expected output:

habana-system  habanalabs-device-plugin-daemonset 1 1 1 1 1  <none> 10m

Note

Make sure the output includes 1 1 1 1 1. Having a 0 in the range output implies that the output in step 3 in Preparation For Running Docker Image on OCP-based Host section was different from the expected output.