Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.

Commit e416f26

Browse files
committed
Update label selector for Router
1 parent b8a5f77 commit e416f26

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/nginx-oss-router-install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@
3535
3636
1. Deploy the NGINX Router:
3737
```
38-
$ oc adm router router --images=<image> --type='' --selector='region=infra'
38+
$ oc adm router router --images=<image> --type='' --selector='node-role.kubernetes.io/infra=true'
3939
```
4040
**Note**:
4141
* The `<image>` must point to the NGINX Router image in your registry.
42-
* The selector parameter specifies a label selector for nodes where the Router will be deployed: `region=infra`. Use a selector that makes sense for your environment.
42+
* The selector parameter specifies a label selector for nodes where the Router will be deployed: `node-role.kubernetes.io/infra=true`. Use a selector that makes sense for your environment.
4343
4444
1. Run the following command to make sure that the Router pods are running:
4545
```

docs/nginx-plus-router-install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434
3535
1. Deploy the NGINX Plus Router:
3636
```
37-
$ oc adm router router --images=docker-registry.default.svc:5000/openshift/nginx-plus-router:0.1 --type='' --selector='region=infra'
37+
$ oc adm router router --images=docker-registry.default.svc:5000/openshift/nginx-plus-router:0.1 --type='' --selector='node-role.kubernetes.io/infra=true'
3838
```
3939
4040
**Note**:
4141
* The NGINX Plus Router image must be stored in the `openshift` directory, with the name `nginx-plus-router:0.1`
42-
* The selector parameter specifies a label selector for nodes where the Router will be deployed: `region=infra`. Use a selector that makes sense for your environment.
42+
* The selector parameter specifies a label selector for nodes where the Router will be deployed: `node-role.kubernetes.io/infra=true`. Use a selector that makes sense for your environment.
4343
4444
1. Run the following command to make sure that the Router pods are running:
4545
```

0 commit comments

Comments
 (0)