Skip to content

Commit 9ce91ab

Browse files
committed
edits
1 parent 82f2843 commit 9ce91ab

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

docs/partials/application-links/_nginx-service.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
labels:
77
app: nginx
88
annotations:
9-
kots.io/when: repl{{ or (eq Distribution "embedded-cluster") (eq Distribution "kurl")}}
9+
kots.io/when: 'repl{{ and (ne Distribution "embedded-cluster") (ne Distribution "kurl")}}'
1010
spec:
1111
type: ClusterIP
1212
ports:
@@ -21,7 +21,7 @@ metadata:
2121
labels:
2222
app: nginx
2323
annotations:
24-
kots.io/when: repl{{ or (eq Distribution "embedded-cluster") (eq Distribution "kurl")}}
24+
kots.io/when: 'repl{{ or (eq Distribution "embedded-cluster") (eq Distribution "kurl")}}'
2525
spec:
2626
type: NodePort
2727
ports:

docs/vendor/admin-console-port-forward.mdx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,7 @@ The following example shows an **Open App** link on the dashboard of the Admin C
162162

163163
## Example: NGINX Application with ClusterIP and NodePort Services
164164

165-
The following example demonstrates how to link to a port-forwarded ClusterIP service for existing cluster installations.
166-
167-
It also shows how to use the `ports` key to add a link to a NodePort service for kURL installations. Although the primary purpose of the `ports` key is to port forward services for existing cluster installations, it is also possible to use the `ports` key so that links to NodePort services for Embedded Cluster or kURL installations use the hostname in the browser. For information about exposing NodePort services for Embedded Cluster or kURL installations, see [Exposing Services Using NodePorts](kurl-nodeport-services).
165+
The following example demonstrates how to link to a port-forwarded ClusterIP service for existing cluster KOTS installations. It also shows how to use the `ports` key to add a link to a NodePort service for Embedded Cluster or kURL installations. Although the primary purpose of the `ports` key is to port forward services for existing cluster KOTS installations, it is also possible to use the `ports` key so that links to NodePort services for Embedded Cluster or kURL installations use the hostname in the browser. For information about exposing NodePort services for Embedded Cluster or kURL installations, see [Exposing Services Using NodePorts](kurl-nodeport-services).
168166

169167
To test this example:
170168

@@ -206,8 +204,14 @@ To test this example:
206204

207205
1. Install the release into an existing cluster and confirm that the service was port-forwarded successfully by clicking **Open App** on the Admin Console dashboard. For more information, see [Online Installation in Existing Clusters with KOTS](/enterprise/installing-existing-cluster).
208206

209-
1. Install the release on a VM and confirm that the service was exposed successfully. To test the port forward, click **Open App** on the Admin Console dashboard after the application reaches a Ready state. For more information, see [Online Installation with Embedded Cluster](/enterprise/installing-embedded) or [Online Installation with kURL](/enterprise/installing-kurl).
207+
1. Install the release on a VM and confirm that you can open the application by clicking **Open App** on the Admin Console dashboard. For more information, see [Online Installation with Embedded Cluster](/enterprise/installing-embedded) or [Online Installation with kURL](/enterprise/installing-kurl).
210208

211209
:::note
212210
Ensure that the VM where you install allows HTTP traffic.
211+
:::
212+
213+
:::note
214+
If you used Replicated Compatibility Matrix to create the VM, follow the steps in [Expose Ports on Running VMs](/vendor/testing-vm-create#expose-ports-on-running-vms) to add these DNS records to the VM:
215+
* A DNS record with a **Target Port** of **30000** to get a hostname where you can access the Admin Console
216+
* A DNS record with a **Target Port** of **8888** to get a hostname where you can access the NGINX application
213217
:::

0 commit comments

Comments
 (0)