Oc login: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:


=Options=
=Options=
==-u==
Sets the user name


==-n==
==-n==


Sets the project (namespace) to log into.
Sets the project (namespace) to log into.
==--server==
<pre>
--server="https://my-openshift-master:8443"
</pre>

Revision as of 14:22, 10 May 2017

Internal

Overview

The command establishes a session.

Options

-u

Sets the user name

-n

Sets the project (namespace) to log into.

--server

--server="https://my-openshift-master:8443"