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
56
56
----
57
57
$ oc get routes -o yaml <name of resource> <1>
58
58
----
59
- <1> In this example, the route is named `hello-openshift` .
59
+ <1> In this example, the route is named `hello-openshift` .
60
60
61
61
.Sample YAML definition of the created unsecured route:
62
62
[source,yaml]
@@ -68,12 +68,14 @@ metadata:
68
68
spec:
69
69
host: hello-openshift-hello-openshift.<Ingress_Domain> <1>
70
70
port:
71
- targetPort: 8080
71
+ targetPort: 8080 <2>
72
72
to:
73
73
kind: Service
74
74
name: hello-openshift
75
75
----
76
76
<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
+
77
79
+
78
80
[NOTE]
79
81
====
You can’t perform that action at this time.
0 commit comments