1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00

Merge pull request #105364 from openshift-cherrypick-robot/cherry-pick-104958-to-enterprise-4.21

[enterprise-4.21] OSDOCS Adds oc describe instructions to viewing pods page
This commit is contained in:
Ben Scott
2026-01-26 10:52:17 -05:00
committed by GitHub
2 changed files with 12 additions and 8 deletions

View File

@@ -1,24 +1,24 @@
// 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
Describing a pod gives you information about that pod to help with troubleshooting.
The `Events` section provides detailed information about the pod and the containers inside of it.
[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]
----
@@ -38,7 +38,4 @@ Events:
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
----
--
For more information, see "oc describe".
----

View File

@@ -10,6 +10,13 @@ As an administrator, you can view cluster pods, check their health, and evaluate
include::modules/nodes-pods-viewing-project.adoc[leveloffset=+1]
include::modules/troubleshooting-general-describe-pod.adoc[leveloffset=+1]
[role="_additional-resources"]
.Additional resources
* xref:../../cli_reference/openshift_cli/developer-cli-commands.adoc#oc-describe[oc describe]
include::modules/nodes-pods-viewing-usage.adoc[leveloffset=+1]
include::modules/viewing-resource-logs-cli-console.adoc[leveloffset=+1]