Skip to content

Commit

Permalink
Merge pull request #239 from e0ne/dev-chart
Browse files Browse the repository at this point in the history
Add instructions how to deploy development version of Network Operator
  • Loading branch information
moshe010 authored Sep 20, 2021
2 parents 9db223b + 7e40fd2 commit b905348
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions deployment/network-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,24 @@ $ helm install --set nfd.enabled=false -n network-operator --create-namespace --
custom resources. The user is required to create it later with configuration matching the cluster or use
chart parameters to deploy it together with the operator.

#### Deploy development version of Network Operator

To install development version of Network Operator you need to clone repository first and install helm chart from the local directory:

```
# Clone Network Operatro Repository
$ git clone https://github.com/Mellanox/network-operator.git
# Update chart dependencies
$ cd network-operator/deployment/network-operator && helm dependency update
# Install Operator
$ helm install -n network-operator --create-namespace --wait network-operator ./network-operator
# View deployed resources
$ kubectl -n network-operator get pods
```

## Helm Tests

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.
Expand Down

0 comments on commit b905348

Please sign in to comment.