Skip to content

Commit 6cb1508

Browse files
author
nginx
committed
Pre OSS commit
1 parent 0df283c commit 6cb1508

File tree

2 files changed

+34
-16
lines changed

2 files changed

+34
-16
lines changed

content/nim/deploy/docker/deploy-nginx-instance-manager-docker-compose.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ Navigate to the directory where you downloaded `docker-compose.yaml`. With the f
5959
~$ echo "admin" > admin_password.txt
6060
~$ docker compose up -d
6161
[+] Running 6/6
62-
✔ Network nim_clickhouse Created 0.1s
63-
✔ Network nim_external_network Created 0.2s
64-
✔ Network nim_default Created 0.2s
65-
✔ Container nim-precheck-1 Started 0.8s
66-
✔ Container nim-clickhouse-1 Healthy 6.7s
67-
✔ Container nim-nim-1 Started 7.4s
62+
✔ Network nim_clickhouse Created 0.1s
63+
✔ Network nim_external_network Created 0.2s
64+
✔ Network nim_default Created 0.2s
65+
✔ Container nim-precheck-1 Started 0.8s
66+
✔ Container nim-clickhouse-1 Healthy 6.7s
67+
✔ Container nim-nim-1 Started 7.4s
6868
```
6969

7070
### Supported environment variables
@@ -88,12 +88,12 @@ docker compose down
8888
```
8989
```
9090
[+] Running 6/6
91-
✔ Container nim-nim-1 Removed 30.6s
92-
✔ Container nim-clickhouse-1 Removed 1.4s
93-
✔ Container nim-precheck-1 Removed 0.0s
94-
✔ Network nim_default Removed 0.9s
95-
✔ Network nim_external_network Removed 0.4s
96-
✔ Network nim_clickhouse Removed 0.6s
91+
✔ Container nim-nim-1 Removed 30.6s
92+
✔ Container nim-clickhouse-1 Removed 1.4s
93+
✔ Container nim-precheck-1 Removed 0.0s
94+
✔ Network nim_default Removed 0.9s
95+
✔ Network nim_external_network Removed 0.4s
96+
✔ Network nim_clickhouse Removed 0.6s
9797
```
9898

9999
---

content/nim/deploy/kubernetes/deploy-using-helm.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
---
2-
docs: "DOCS-1651"
2+
docs: DOCS-1651
33
title: "Deploy using Helm"
44
toc: true
55
weight: 100
6+
doctypes:
7+
- task
8+
tags:
9+
- docs
610
---
711

812
## Overview
@@ -130,7 +134,10 @@ Create a Docker registry secret on the cluster, using the JWT token as the usern
130134
{{< 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 >}}
131135
132136
```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
134141
```
135142
136143
{{< warning >}}
@@ -256,7 +263,13 @@ Run the `helm install` command to deploy NGINX Instance Manager:
256263
(Optional) Replace `<nms-chart-version>` with the desired chart version. If omitted, the latest version will be installed.
257264

258265
```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
260273
```
261274

262275
To help you choose the right NGINX Instance Manager chart version, see the table in:
@@ -300,7 +313,12 @@ To upgrade:
300313
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.
301314

302315
```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
304322
```
305323

306324
- 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

Comments
 (0)