mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * nodes/pods/nodes-pods-viewing.adoc
|
|
// * edge_computing/day_2_core_cnf_clusters/troubleshooting/troubleshooting-general-troubleshooting.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="troubleshooting-general-describe-pod_{context}"]
|
|
= Describing a pod
|
|
|
|
[role="_abstract"]
|
|
To troubleshoot pod issues and view detailed information about a pod in {product-title}, you can describe a pod using the `oc describe pod` command. The *Events* section in the output provides detailed information about the pod and the containers inside of it.
|
|
|
|
.Procedure
|
|
|
|
* Describe a pod by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc describe pod -n <namespace> busybox-1
|
|
----
|
|
+
|
|
.Example output
|
|
[source,terminal]
|
|
----
|
|
Name: busybox-1
|
|
Namespace: busy
|
|
Priority: 0
|
|
Service Account: default
|
|
Node: worker-3/192.168.0.0
|
|
Start Time: Mon, 27 Nov 2023 14:41:25 -0500
|
|
Labels: app=busybox
|
|
pod-template-hash=<hash>
|
|
Annotations: k8s.ovn.org/pod-networks:
|
|
…
|
|
Events:
|
|
Type Reason Age From Message
|
|
---- ------ ---- ---- -------
|
|
Normal Pulled 41m (x170 over 7d1h) kubelet Container image "quay.io/quay/busybox:latest" already present on machine
|
|
Normal Created 41m (x170 over 7d1h) kubelet Created container busybox
|
|
Normal Started 41m (x170 over 7d1h) kubelet Started container busybox
|
|
---- |