intel-technology-enabling-for-openshift

Setting up Intel Device Plugins Operator

Overview

Intel Device Plugins are utilized to advertise Intel hardware features (resources) to a Red Hat OpenShift Container Platform (RHOCP) Cluster. This allows workloads running on pods deployed within the clusters to leverage these features. To handle the deployment and lifecycle of these device plugins, the Intel Device Plugins Operator is used. The Intel Device Plugins container images and operator have been officially certified and published on the Red Hat Ecosystem Catalog. For more details on the upstream project, please refer to Intel Device Plugins for Kubernetes.

Prerequisities

Install Intel Device Plugins Operator on Red Hat OpenShift

Installation via web console

Follow the steps below to install Intel Device Plugins Operator using OpenShift web console:

  1. In the OpenShift web console, navigate to Operator -> OperatorHub.
  2. Search for Intel Device Plugins Operator in all items field -> Click Install.

    Verify Installation via web console

  3. Go to Operator -> Installed Operators.
  4. Verify that the status of the operator is Succeeded.

Installation via command line interface (CLI)

Apply the install_operator.yaml file:

$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/device_plugins/install_operator.yaml

Verify Installation via CLI

Verify that the operator controller manager pod is up and running:

$ oc get pod | grep inteldeviceplugins-controller-manager

inteldeviceplugins-controller-manager-6b8c76c867-hftqm   2/2     Running   0          17m

Resources Provided by Intel Device Plugins

The resources are the user interface for customers to claim and consume the hardware features provided by Intel Device Plugins from the user pods. See below table for the details:

Feature Resources Description Usage
Intel® SGX sgx.intel.com/epc Intel SGX EPC memory for user pod to claim Link
Intel® Data Center GPU Flex Series </br> Intel® Data Center GPU Max Series gpu.intel.com/i915 Intel Data Center GPU Card for user pod to claim Link
Intel® QAT qat.intel.com/cy </br> qat.intel.com/dc cy: Intel QAT VFIO Virtual Function device configured for cryptography for user pod to claim </br> dc: Intel QAT VFIO Virtual Function device configured for cryptography for user pod to claim Link </br> Link

Creating Intel Device Plugin custom resource (CR)