Skip to content

Commit b905348

Browse files
authored
Merge pull request #239 from e0ne/dev-chart
Add instructions how to deploy development version of Network Operator
2 parents 9db223b + 7e40fd2 commit b905348

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

deployment/network-operator/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,24 @@ $ helm install --set nfd.enabled=false -n network-operator --create-namespace --
103103
custom resources. The user is required to create it later with configuration matching the cluster or use
104104
chart parameters to deploy it together with the operator.
105105

106+
#### Deploy development version of Network Operator
107+
108+
To install development version of Network Operator you need to clone repository first and install helm chart from the local directory:
109+
110+
```
111+
# Clone Network Operatro Repository
112+
$ git clone https://github.com/Mellanox/network-operator.git
113+
114+
# Update chart dependencies
115+
$ cd network-operator/deployment/network-operator && helm dependency update
116+
117+
# Install Operator
118+
$ helm install -n network-operator --create-namespace --wait network-operator ./network-operator
119+
120+
# View deployed resources
121+
$ kubectl -n network-operator get pods
122+
```
123+
106124
## Helm Tests
107125

108126
Network Operator has Helm tests to verify deployment. To run tests it is required to set the following chart parameters on helm install/upgrade: `deployCR`, `rdmaSharedDevicePlugin`, `secondaryNetwork` as the test depends on `NicClusterPolicy` instance being deployed by Helm.

0 commit comments

Comments
 (0)