1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 15:46:57 +01:00

Update nw-ingress-configuring-application-domain.adoc

Wrong structure of command needs to be corrected
Here is the documentation link:
https://docs.redhat.com/en/documentation/openshift_container_platform/4.16/html/networking/networking-operators#nw-ingress-configuring-application-domain_configuring-ingress
Here is the current look:

Expose the route:

$ oc expose service hello-openshift
route.route.openshift.io/hello-openshift exposed
The above command is not structured properly.
We can use the above command as well, and it will execute perfectly.
But its structure is not as per our standard procedure.
Hence, it needs to be changed.
Here is the updated look:
Expose the route:

$ oc expose service hello-openshift
  route.route.openshift.io/hello-openshift exposed

[new-commit]Update nw-ingress-configuring-application-domain.adoc

[new-commit]Update nw-ingress-configuring-application-domain.adoc

[new-change]Update nw-ingress-configuring-application-domain.adoc

[new-change]Update nw-ingress-configuring-application-domain.adoc
This commit is contained in:
Prithviraj Patil
2025-07-12 02:37:04 +05:30
committed by openshift-cherrypick-robot
parent 96f84f188e
commit 2fd7c34beb

View File

@@ -65,14 +65,24 @@ Wait for the `openshift-apiserver` finish rolling updates before exposing the ro
[source,terminal]
----
$ oc expose service hello-openshift
route.route.openshift.io/hello-openshift exposed
----
+
.Example output
[source,terminal]
----
route.route.openshift.io/hello-openshift exposed
----
+
.. Get a list of routes by running the following command:
+
[source,terminal]
----
$ oc get routes
----
+
.Example output
[source,text]
----
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
hello-openshift hello_openshift-<my_project>.test.example.com
hello-openshift 8080-tcp None