We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bdeba41 + 358e01b commit 6de7ec2Copy full SHA for 6de7ec2
modules/nw-exposing-service.adoc
@@ -75,7 +75,13 @@ ifdef::nodeport[]
75
+
76
[source,terminal]
77
----
78
-$ oc expose dc nodejs-ex --type=NodePort --name=nodejs-ex-ingress
+$ oc expose service nodejs-ex --type=NodePort --name=nodejs-ex-nodeport --generator="service/v2"
79
+----
80
++
81
+.Example output
82
+[source,terminal]
83
84
+service/nodejs-ex-nodeport exposed
85
86
87
. Optional: To confirm the service is available with a node port exposed, enter the following command:
0 commit comments