Skip to content

Commit eb3078b

Browse files
authored
Merge pull request #149 from rollandf/fix-uninstall
fix: several updates
2 parents 1e8a657 + 205386b commit eb3078b

File tree

2 files changed

+53
-42
lines changed

2 files changed

+53
-42
lines changed

docs/getting-started-kubernetes.rst

Lines changed: 47 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ NVIDIA Network Operator leverages `Kubernetes CRDs`_ and `Operator SDK`_ to mana
3939

4040
The goal of the Network Operator is to manage the networking related components, while enabling execution of RDMA and GPUDirect RDMA workloads in a Kubernetes cluster. This includes:
4141

42-
* NVIDIA Networking drivers to enable advanced features - enp1 netdcreate, an NV-IPAM IPPool
42+
* NVIDIA Networking drivers to enable advanced features
4343
* Kubernetes device plugins to provide hardware resources required for an accelerated network
4444
* Kubernetes secondary network components for network intensive workloads
4545

@@ -98,13 +98,15 @@ The provided Helm chart contains various parameters to facilitate the creation o
9898

9999
.. warning:: Each Network Operator Release has a set of default version values for the various components it deploys. It is recommended that these values will not be changed. Testing and validation were performed with these values, and there is no guarantee of interoperability nor correctness when different versions are used.
100100

101+
Add NVIDIA NGC Helm repository
102+
101103
.. code-block:: bash
102-
:caption: Add NVIDIA NGC Helm repository
103104
104105
helm repo add nvidia https://helm.ngc.nvidia.com/nvidia
105106
107+
Update Helm repositories
108+
106109
.. code-block:: bash
107-
:caption: Update helm repositories
108110
109111
helm repo update
110112
@@ -119,8 +121,9 @@ Install Network Operator from the NVIDIA NGC chart using the default values:
119121
--version |network-operator-version| \
120122
--wait
121123
124+
View deployed resources
125+
122126
.. code-block:: bash
123-
:caption: View deployed resources
124127
125128
kubectl -n nvidia-network-operator get pods
126129
@@ -133,6 +136,8 @@ Install the Network Operator from the NVIDIA NGC chart using custom values:
133136
134137
helm show values nvidia/network-operator --version |network-operator-version| > values.yaml
135138
139+
Install with specifying the custom `values.yaml`
140+
136141
.. code-block:: bash
137142
:substitutions:
138143
@@ -169,8 +174,8 @@ First install the Network Operator with NFD enabled:
169174
enabled: true
170175
171176
Once the Network Operator is installed create a NicClusterPolicy with
172-
* DOCA driver
173-
* RDMA Shared device plugin configured to a netdev with name ens1f0.
177+
* DOCA driver
178+
* RDMA Shared device plugin configured to a netdev with name ens1f0.
174179

175180

176181
Note: You may need to change the interface names in the NicClusterPolicy to those used by your target nodes.
@@ -250,8 +255,8 @@ First install the Network Operator with NFD enabled:
250255
enabled: true
251256
252257
Once the Network Operator is installed create a NicClusterPolicy with:
253-
* DOCA driver
254-
* RDMA Shared Device pluging with two RDMA resources - the first mapped to ens1f0 and ens1f1 and the second mapped to ens2f0 and ens2f1.
258+
* DOCA driver
259+
* RDMA Shared Device pluging with two RDMA resources - the first mapped to ens1f0 and ens1f1 and the second mapped to ens2f0 and ens2f1.
255260

256261
Note: You may need to change the interface names in the NicClusterPolicy to those used by your target nodes.
257262

@@ -339,10 +344,10 @@ First install the Network Operator with NFD enabled:
339344
enabled: true
340345
341346
Once the Network Operator is installed create a NicClusterPolicy with the following enabled:
342-
* Secondary network
343-
* Multus CNI
344-
* Container-networking-plugins CNI plugins
345-
* IPAM Plugin
347+
* Secondary network
348+
* Multus CNI
349+
* Container-networking-plugins CNI plugins
350+
* IPAM Plugin
346351

347352
.. code-block:: yaml
348353
:substitutions:
@@ -381,7 +386,7 @@ First install the Network Operator with NFD enabled:
381386
nfd:
382387
enabled: true
383388
384-
Once the Network Operator is installed deploy a NicClusterPolicy with the following enabled:
389+
Once the Network Operator is installed create a NicClusterPolicy with the following enabled:
385390
* Secondary network
386391
* Multus CNI
387392
* Container Networking plugins
@@ -466,7 +471,7 @@ First install the Network Operator with NFD enabled:
466471
nfd:
467472
enabled: true
468473
469-
Once the Network Operator is installed deploy a NicClusterPolicy with:
474+
Once the Network Operator is installed create a NicClusterPolicy with:
470475
* SR-IOV device plugin configured with a single SR-IOV resource pool
471476
* Secondary network
472477
* Multus CNI
@@ -715,12 +720,12 @@ First install the Network Operator with NFD enabled:
715720
enabled: true
716721
717722
Once the Network Operator is installed create a NicClusterPolicy with:
718-
* DOCA driver
719-
* RDMA shared device plugin
720-
* Secondary network
721-
* Multus CNI
722-
* IPoIB CNI
723-
* Whereabouts IPAM CNI plugin
723+
* DOCA driver
724+
* RDMA shared device plugin
725+
* Secondary network
726+
* Multus CNI
727+
* IPoIB CNI
728+
* Whereabouts IPAM CNI plugin
724729

725730
.. code-block:: yaml
726731
:substitutions:
@@ -899,12 +904,12 @@ First install the Network Operator with NFD enabled:
899904
enabled: true
900905
901906
Once the Network Operator is installed create a NicClusterPolicy with:
902-
* DOCA driver
903-
* SR-IOV Device Plugin
904-
* Secondary network
905-
* Multus CNI
906-
* Container Networking plugins
907-
* IPAM plugin
907+
* DOCA driver
908+
* SR-IOV Device Plugin
909+
* Secondary network
910+
* Multus CNI
911+
* Container Networking plugins
912+
* IPAM plugin
908913

909914

910915
.. code-block:: yaml
@@ -1079,11 +1084,11 @@ First install the Network Operator with NFD and SRIOV Network Operator enabled:
10791084
enabled: true
10801085
10811086
Once the Network Operator is installed create a NicClusterPolicy with:
1082-
* DOCA driver
1083-
* Secondary network
1084-
* Multus CNI
1085-
* IPoIB CNI
1086-
* IPAM CNI plugin
1087+
* DOCA driver
1088+
* Secondary network
1089+
* Multus CNI
1090+
* IPoIB CNI
1091+
* IPAM CNI plugin
10871092

10881093
.. code-block:: yaml
10891094
:substitutions:
@@ -1356,11 +1361,11 @@ First install the Network Operator with NFD and SR-IOV Network Operator enabled:
13561361
enabled: true
13571362
13581363
Once the Network Operator is installed create a NicClusterPolicy with:
1359-
* DOCA driver
1360-
* Secondary network
1361-
* Multus CNI
1362-
* Container Networking Plugins
1363-
* IPAM plugin
1364+
* DOCA driver
1365+
* Secondary network
1366+
* Multus CNI
1367+
* Container Networking Plugins
1368+
* IPAM plugin
13641369

13651370
.. code-block:: yaml
13661371
:substitutions:
@@ -1548,12 +1553,12 @@ First install the Network Operator with NFD enabled:
15481553
resourcePrefix: "nvidia.com"
15491554
15501555
Once the Network Operator is installed create a NicClusterPolicy with:
1551-
* DOCA driver
1552-
* ibKubernetes
1553-
* Secondary network
1554-
* Multus CNI
1555-
* Container Networking plugins
1556-
* IPAM Plugin
1556+
* DOCA driver
1557+
* ibKubernetes
1558+
* Secondary network
1559+
* Multus CNI
1560+
* Container Networking plugins
1561+
* IPAM Plugin
15571562

15581563
.. code-block:: yaml
15591564
:substitutions:

docs/life-cycle-management.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,12 @@ Uninstalling the Network Operator
389389
Uninstalling Network Operator on a Vanilla Kubernetes Cluster
390390
-------------------------------------------------------------
391391

392+
Delete the NicClusterPolicy:
393+
394+
.. code-block:: bash
395+
396+
kubectl delete -n nvidia-network-operator nicclusterpolicies.mellanox.com nic-cluster-policy
397+
392398
Uninstall the Network Operator:
393399

394400
.. code-block:: bash

0 commit comments

Comments
 (0)