You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: latest/ug/ml/node-efa.adoc
+103-6Lines changed: 103 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,17 +124,114 @@ If you don't have an existing cluster, you can run the following command to crea
124
124
eksctl create cluster -f efa-cluster.yaml
125
125
----
126
126
+
127
-
NOTE: Because the instance type used in this example has GPUs, `eksctl` automatically installs the NVIDIA Kubernetes device plugin on each instance for you.
128
-
. Deploy the EFA Kubernetes device plugin.
127
+
NOTE: Because the instance type used in this example has GPUs, `eksctl` automatically installs the NVIDIA Kubernetes device plugin on each instance for you. When `efaEnabled: true` is set in your configuration, `eksctl` also automatically deploys the EFA device plugin on your nodes.
128
+
129
+
[#efa-bottlerocket]
130
+
=== Using Bottlerocket with EFA
131
+
132
+
Bottlerocket AMI version 1.28.0 and later include official support for EFA. To use Bottlerocket for EFA-enabled nodes, specify `amiFamily: Bottlerocket` in your configuration. If you need to use a custom AMI ID, you must use standard `nodeGroups` instead of `managedNodeGroups`.
The `vm.nr_hugepages` sysctl setting above configures the number of 2Mi hugepages. In this example, 3000 means 3000 * 2Mi = 6000Mi of hugepages.
171
+
172
+
[#verify-efa-device-plugin]
173
+
=== Verify EFA Device Plugin Installation
174
+
175
+
When you create a node group with `efaEnabled: true`, eksctl automatically deploys the EFA Kubernetes device plugin for you. You can verify that the device plugin is installed and functioning correctly:
176
+
177
+
. Check the DaemonSet status:
178
+
+
179
+
[source,bash,subs="verbatim,attributes"]
180
+
----
181
+
kubectl get daemonsets -n kube-system
182
+
----
129
183
+
130
-
The EFA Kubernetes device plugin detects and advertises EFA interfaces as allocatable resources to Kubernetes. An application can consume the extended resource type `vpc.amazonaws.com/efa` in a Pod request spec just like CPU and memory. For more information, see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#consuming-extended-resources[Consuming extended resources] in the Kubernetes documentation. Once requested, the plugin automatically assigns and mounts an EFA interface to the Pod. Using the device plugin simplifies EFA setup and does not require a Pod to run in privileged mode.
0 commit comments