Oc get: Difference between revisions

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


==netnamespaces==
==netnamespaces==
Displays the virtual networks assigned to each project. See [[]].


<pre>
<pre>
oc get netnamespaces
oc get netnamespaces
</pre>
<pre>
NAME              NETID
default            0
fancypants-dev    9968058
kube-system        11092823
logging            6208947
management-infra  5562275
openshift          8714409
openshift-infra    13183382
pizzaparty-dev    5721085
playground        7804116
</pre>
</pre>



Revision as of 20:19, 16 May 2017

External

Internal

Overview

Subcommands

nodes

oc get nodes

pods

oc get pods --all-namespaces

namespaces

projects

netnamespaces

Displays the virtual networks assigned to each project. See [[]].

oc get netnamespaces
NAME               NETID
default            0
fancypants-dev     9968058
kube-system        11092823
logging            6208947
management-infra   5562275
openshift          8714409
openshift-infra    13183382
pizzaparty-dev     5721085
playground         7804116

builds

Get the builds and their status.


quota

oc get quota -n myproject

routes

oc get routes

pv

pvc

event

clusternetwork

Information about the network plugin and network status.

See

OpenShift Network Plugins