Intel Gaudi Device Plugin for Kubernetes
Intel Gaudi Device Plugin for Kubernetes¶
For details on Intel® Gaudi® device plugin for Kubernetes, refer to Intel Gaudi Device Plugin for Kubernetes.
To deploy the device plugin, use the associated
.yaml
file to set up the environment:oc create -f https://vault.habana.ai/artifactory/docker-k8s-device-plugin/habana-k8s-device-plugin.yaml
Assign proper permissions to
habana-system
namespace for the pod to run inhabana-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 a0
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 a0
in the range output implies that the output in step 3 in Prepare Docker Image on OCP-based Host section was different from the expected output.