From a4a420d5d0d436fe459e40de67c102830a1cd09f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Fri, 24 Jul 2020 10:00:02 +0200 Subject: [PATCH] Document how to get the logs of a pod in openshift Signed-off-by: Pierre-Yves Chibon --- get_logs_pod_openshift.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 get_logs_pod_openshift.md diff --git a/get_logs_pod_openshift.md b/get_logs_pod_openshift.md new file mode 100644 index 0000000..06e8035 --- /dev/null +++ b/get_logs_pod_openshift.md @@ -0,0 +1,12 @@ +# 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 + +for example: + + oc logs toddlers-47-2tjj2 -n toddlers