Oc expose: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 13: Line 13:
  oc expose service my-service [--hostname=something.example.com]
  oc expose service my-service [--hostname=something.example.com]


If --hostname is not specified, the standard <appname>-<projectname>.apps.<[[OpenShift_Concepts#Default_Routing_Subdomain|default-routing-subdomain]]>
If --hostname is not specified, the standard <appname>-<projectname>.<[[OpenShift_Concepts#Default_Routing_Subdomain|default-routing-subdomain]]>


More details: {{Internal|OpenShift_Network_Operations#Expose_a_Service|Network Operations - Expose a Service}}
More details: {{Internal|OpenShift_Network_Operations#Expose_a_Service|Network Operations - Expose a Service}}

Revision as of 01:03, 26 November 2017

Internal

Overview

Subcommands

service

Expose a service externally:

oc expose service my-service [--hostname=something.example.com]

If --hostname is not specified, the standard <appname>-<projectname>.<default-routing-subdomain>

More details:

Network Operations - Expose a Service