Document how to get the logs of a pod in openshift
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
0e1529b040
commit
a4a420d5d0
1 changed files with 12 additions and 0 deletions
12
get_logs_pod_openshift.md
Normal file
12
get_logs_pod_openshift.md
Normal file
|
@ -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 <project_name> <pod name>
|
||||
|
||||
for example:
|
||||
|
||||
oc logs toddlers-47-2tjj2 -n toddlers
|
Loading…
Add table
Add a link
Reference in a new issue