|
1 | 1 | ---
|
2 |
| -docs: "DOCS-1651" |
| 2 | +docs: DOCS-1651 |
3 | 3 | title: "Deploy using Helm"
|
4 | 4 | toc: true
|
5 | 5 | weight: 100
|
| 6 | +doctypes: |
| 7 | +- task |
| 8 | +tags: |
| 9 | +- docs |
6 | 10 | ---
|
7 | 11 |
|
8 | 12 | ## Overview
|
@@ -130,7 +134,10 @@ Create a Docker registry secret on the cluster, using the JWT token as the usern
|
130 | 134 | {{< note >}} Make sure there are no extra characters or spaces when copying the JWT token. They can invalidate the token and cause 401 errors during authentication. {{< /note >}}
|
131 | 135 |
|
132 | 136 | ```shell
|
133 |
| -kubectl create secret docker-registry regcred --docker-server=private-registry.nginx.com --docker-username=<JWT Token> --docker-password=none |
| 137 | +kubectl create secret docker-registry regcred \ |
| 138 | +--docker-server=private-registry.nginx.com \ |
| 139 | +--docker-username=<JWT Token> \ |
| 140 | +--docker-password=none |
134 | 141 | ```
|
135 | 142 |
|
136 | 143 | {{< warning >}}
|
@@ -256,7 +263,13 @@ Run the `helm install` command to deploy NGINX Instance Manager:
|
256 | 263 | (Optional) Replace `<nms-chart-version>` with the desired chart version. If omitted, the latest version will be installed.
|
257 | 264 |
|
258 | 265 | ```shell
|
259 |
| -helm install -n nms --set nms-hybrid.adminPasswordHash=$(openssl passwd -6 'YourPassword123#') nms nginx-stable/nms --create-namespace -f <path-to-your-values.yaml> [--version <chart-version>] --wait |
| 266 | +helm install -n nms \ |
| 267 | +--set nms-hybrid.adminPasswordHash=$(openssl passwd -6 'YourPassword123#') \ |
| 268 | +nms nginx-stable/nms \ |
| 269 | +--create-namespace \ |
| 270 | +-f <path-to-your-values.yaml> \ |
| 271 | +[--version <chart-version>] \ |
| 272 | +--wait |
260 | 273 | ```
|
261 | 274 |
|
262 | 275 | To help you choose the right NGINX Instance Manager chart version, see the table in:
|
@@ -300,7 +313,12 @@ To upgrade:
|
300 | 313 | 1. To upgrade the NGINX instance deployment, run the following command. This command updates the `nms` deployment with a new version from the `nginx-stable/nms` repository. It also hashes the provided password and uses the `values.yaml` file at the path you specify.
|
301 | 314 |
|
302 | 315 | ```bash
|
303 |
| - helm upgrade -n nms --set nms-hybrid.adminPasswordHash=$(openssl passwd -6 'YourPassword123#') nms nginx-stable/nms -f <path-to-your-values.yaml> [--version <nms-chart-version>] --wait |
| 316 | + helm upgrade -n nms \ |
| 317 | + --set nms-hybrid.adminPasswordHash=$(openssl passwd -6 'YourPassword123#') \ |
| 318 | + nms nginx-stable/nms \ |
| 319 | + -f <path-to-your-values.yaml> \ |
| 320 | + [--version <nms-chart-version>] \ |
| 321 | + --wait |
304 | 322 | ```
|
305 | 323 |
|
306 | 324 | - Replace `<path-to-your-values.yaml>` with the path to the `values.yaml` file you created]({{< relref "/nim/deploy/kubernetes/deploy-using-helm.md#configure-chart" >}}).
|
|
0 commit comments