@@ -47,18 +47,18 @@ Kubernetes:
4747 which can be used to dynamically convert logical resource names in pod specifications into actual FPGA
4848 resource names, as advertised by the device plugin.
4949
50- The webhook can also set environment variables to instruct the CRI-O prestart hook to program the FPGA
50+ The webhook can also set environment variables to instruct the CDI prestart hook to program the FPGA
5151 before launching the container.
5252
5353 > ** NOTE:** Installation of the [ FPGA admission controller webhook] ( ../fpga_admissionwebhook/README.md ) can be skipped if the
5454 > FPGA device plugin is operated with the Intel Device Plugins Operator
5555 > since it integrates the controller's functionality.
5656 > However, [ the mappings] ( ../fpga_admissionwebhook/README.md#mappings-deployment ) still must be deployed."
5757
58- - [ FPGA CRI-O prestart hook] ( ../fpga_crihook/README.md )
58+ - [ FPGA CDI prestart hook] ( ../fpga_crihook/README.md )
5959
60- A [ CRI-O ] ( https://github.com/cri-o/cri-o ) prestart hook that, upon instruction from the FPGA admission
61- controller, allocates and programs the FPGA before the container is launched.
60+ A [ CDI ] ( https://github.com/cncf-tags/container-device-interface ) prestart hook that, upon instruction from the FPGA admission
61+ controller, programs the FPGA before the container is launched.
6262
6363The repository also contains an [ FPGA helper tool] ( ../fpga_tool/README.md ) that may be useful during
6464development, initial deployment and debugging.
@@ -102,15 +102,14 @@ major components:
102102
103103- [ FPGA device plugin] ( README.md ) (this component)
104104- [ FPGA admission controller webhook] ( ../fpga_admissionwebhook/README.md )
105- - [ FPGA prestart CRI-O hook] ( ../fpga_crihook/README.md )
105+ - [ FPGA CDI prestart hook] ( ../fpga_crihook/README.md )
106106
107- The CRI-O hook is only * required* if ` region ` mode is being used, but is installed by default by the
107+ The CDI hook is only * required* if ` region ` mode is being used, but is installed by default by the
108108[ FPGA plugin DaemonSet YAML] ( /deployments/fpga_plugin/base/intel-fpga-plugin-daemonset.yaml ) , and is benign
109109in ` af ` mode.
110110
111- If using the ` af ` mode, and therefore * not* using the
112- CRI-O prestart hook, runtimes other than CRI-O can be used (that is, the CRI-O hook presently
113- * only* works with the CRI-O runtime).
111+ If using the ` af ` mode, and therefore * not* using the CDI prestart hook, any runtime can be used
112+ (that is, the CDI is not supported by all runtimes).
114113
115114The FPGA device plugin requires a Linux Kernel FPGA driver to be installed and enabled to
116115operate. The plugin supports the use of either of following two drivers, and auto detects
@@ -147,7 +146,7 @@ The following images are available on the Docker hub:
147146
148147- [ The FPGA plugin] ( https://hub.docker.com/r/intel/intel-fpga-plugin )
149148- [ The FPGA admisson webhook] ( https://hub.docker.com/r/intel/intel-fpga-admissionwebhook )
150- - [ The FPGA CRI-O prestart hook (in the ` initcontainer ` image)] ( https://hub.docker.com/r/intel/intel-fpga-initcontainer )
149+ - [ The FPGA CDI prestart hook (in the ` initcontainer ` image)] ( https://hub.docker.com/r/intel/intel-fpga-initcontainer )
151150
152151Depending on the FPGA mode, run either
153152``` bash
@@ -207,7 +206,7 @@ $ kubectl annotate node <node_name> 'fpga.intel.com/device-plugin-mode=af'
207206And restart the pods on the nodes.
208207
209208> ** Note:** The FPGA plugin [ DaemonSet YAML] ( /deployments/fpga_plugin/base/intel-fpga-plugin-daemonset.yaml )
210- > also deploys the [ FPGA CRI-O hook] ( ../fpga_crihook/README.md ) ` initcontainer ` image, but it will be
209+ > also deploys the [ FPGA CDI prestart hook] ( ../fpga_crihook/README.md ) ` initcontainer ` image, but it will be
211210> benign (un-used) when running the FPGA plugin in ` af ` mode.
212211
213212#### Verify Plugin Registration
@@ -223,6 +222,6 @@ fpga.intel.com/region-ce48969398f05f33946d560708be108a: 1
223222```
224223
225224> ** Note:** The FPGA plugin [ DaemonSet YAML] ( /deployments/fpga_plugin/fpga_plugin.yaml )
226- > also deploys the [ FPGA CRI-O hook] ( ../fpga_crihook/README.md ) ` initcontainer ` image as well. You may
225+ > also deploys the [ FPGA CDI prestart hook] ( ../fpga_crihook/README.md ) ` initcontainer ` image as well. You may
227226> also wish to build that image locally before deploying the FPGA plugin to avoid deploying
228227> the Docker hub default image.
0 commit comments