howtos/get_logs_pod_openshift.md
Pierre-Yves Chibon a4a420d5d0 Document how to get the logs of a pod in openshift
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-07-24 10:00:02 +02:00

262 B

How to get the full logs of a pod in openshift?

You'll need the pod's name, the project's name and access to the openshift master.

Then you can run the command:

oc logs -n <project_name>

for example:

oc logs toddlers-47-2tjj2 -n toddlers