@@ -47,18 +47,18 @@ Kubernetes:
47
47
which can be used to dynamically convert logical resource names in pod specifications into actual FPGA
48
48
resource names, as advertised by the device plugin.
49
49
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
51
51
before launching the container.
52
52
53
53
> ** NOTE:** Installation of the [ FPGA admission controller webhook] ( ../fpga_admissionwebhook/README.md ) can be skipped if the
54
54
> FPGA device plugin is operated with the Intel Device Plugins Operator
55
55
> since it integrates the controller's functionality.
56
56
> However, [ the mappings] ( ../fpga_admissionwebhook/README.md#mappings-deployment ) still must be deployed."
57
57
58
- - [ FPGA CRI-O prestart hook] ( ../fpga_crihook/README.md )
58
+ - [ FPGA CDI prestart hook] ( ../fpga_crihook/README.md )
59
59
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.
62
62
63
63
The repository also contains an [ FPGA helper tool] ( ../fpga_tool/README.md ) that may be useful during
64
64
development, initial deployment and debugging.
@@ -102,15 +102,14 @@ major components:
102
102
103
103
- [ FPGA device plugin] ( README.md ) (this component)
104
104
- [ 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 )
106
106
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
108
108
[ FPGA plugin DaemonSet YAML] ( /deployments/fpga_plugin/base/intel-fpga-plugin-daemonset.yaml ) , and is benign
109
109
in ` af ` mode.
110
110
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).
114
113
115
114
The FPGA device plugin requires a Linux Kernel FPGA driver to be installed and enabled to
116
115
operate. 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:
147
146
148
147
- [ The FPGA plugin] ( https://hub.docker.com/r/intel/intel-fpga-plugin )
149
148
- [ 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 )
151
150
152
151
Depending on the FPGA mode, run either
153
152
``` bash
@@ -207,7 +206,7 @@ $ kubectl annotate node <node_name> 'fpga.intel.com/device-plugin-mode=af'
207
206
And restart the pods on the nodes.
208
207
209
208
> ** 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
211
210
> benign (un-used) when running the FPGA plugin in ` af ` mode.
212
211
213
212
#### Verify Plugin Registration
@@ -223,6 +222,6 @@ fpga.intel.com/region-ce48969398f05f33946d560708be108a: 1
223
222
```
224
223
225
224
> ** 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
227
226
> also wish to build that image locally before deploying the FPGA plugin to avoid deploying
228
227
> the Docker hub default image.
0 commit comments