Oc logs: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 14: Line 14:
oc logs -f <pod>
oc logs -f <pod>
</pre>
</pre>
=Options=
==-f==
Streams the logs, similarly to tail -f.


=Sub-Commands=
=Sub-Commands=

Revision as of 18:00, 5 August 2017

External

Internal

Overview

Retrieves the log output for a build, deployment or pod:

oc logs -f <pod>

Options

-f

Streams the logs, similarly to tail -f.

Sub-Commands

build

oc logs build