Skip to content

Commit

Permalink
Fix review comments
Browse files Browse the repository at this point in the history
Signed-off-by: killianmuldoon <[email protected]>
  • Loading branch information
killianmuldoon committed Oct 31, 2024
1 parent afb491d commit eebe4fc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/advanced-configurations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -489,13 +489,14 @@ Optional `requests and limits <https://kubernetes.io/docs/concepts/configuration
For example, for the SR-IOV Device Plugin:

.. code-block:: yaml
kind: NicClusterPolicy
metadata:
name: nic-cluster-policy
spec:
sriovDevicePlugin:
containerResources:
- name: "mofed-container"
- name: "sriov-device-plugin"
requests:
cpu: "200m"
memory: "150Mi"
Expand Down Expand Up @@ -548,6 +549,7 @@ In addition, it is possible to specify any environment variables to be exposed t
These variables can be set in the NicClusterPolicy. For example:

.. code-block:: yaml
kind: NicClusterPolicy
metadata:
name: nic-cluster-policy
Expand All @@ -561,7 +563,3 @@ These variables can be set in the NicClusterPolicy. For example:
- name: CREATE_IFNAMES_UDEV
value: "true"
===============================================
Container Device Interface
===============================================

0 comments on commit eebe4fc

Please sign in to comment.