File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ $ oc expose svc hello-openshift
5656----
5757$ oc get routes -o yaml <name of resource> <1>
5858----
59- <1> In this example, the route is named `hello-openshift` .
59+ <1> In this example, the route is named `hello-openshift` .
6060
6161.Sample YAML definition of the created unsecured route:
6262[source,yaml]
@@ -68,12 +68,14 @@ metadata:
6868spec:
6969 host: hello-openshift-hello-openshift.<Ingress_Domain> <1>
7070 port:
71- targetPort: 8080
71+ targetPort: 8080 <2>
7272 to:
7373 kind: Service
7474 name: hello-openshift
7575----
7676<1> `<Ingress_Domain>` is the default ingress domain name.
77+ <2> `targetPort` is the target port on pods that is selected by the service that this route points to.
78+
7779+
7880[NOTE]
7981====
You can’t perform that action at this time.
0 commit comments