infra-docs-fpo/modules/howtos/pages/get_logs_pod_openshift.adoc
Michal Konecny 1d458e6d8a Migrate howto repository to infra docs
It doesn't make much sense to have separate guides outside infra documentation.
So let's migrate https://pagure.io/fedora-infra/howtos to infra docs.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2023-09-18 17:06:59 +02:00

15 lines
265 B
Text

= How to get 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> <pod name>
----
for example:
----
oc logs toddlers-47-2tjj2 -n toddlers
----