Oc describe: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 29: Line 29:
Example:
Example:


  oc describe pod -n logging logging-kibana-1-deploy
  oc describe pod -n logging logging-kibana-1-d4bw2
 
Alternative:
 
oc describe -n logging po/logging-kibana-1-d4bw2
 
Output Example:
 
{{Internal|oc describe pod Output Example|oc describe pod Output Example}}


==node==
==node==

Revision as of 20:45, 30 July 2017

Internal

Overview

Subcommands

group

Describe groups.

oc describe group

quota

oc describe quota core-object-counts -n demo project

pod

Find the pod name with

oc get pod -n <some-namespace>

Then get more information:

oc describe pod -n <some-namespace> <pod-name>

Example:

oc describe pod -n logging logging-kibana-1-d4bw2

Alternative:

oc describe -n logging po/logging-kibana-1-d4bw2

Output Example:

oc describe pod Output Example

node

oc describe node <node-name>

can be used to get the labels applied to the node.