13.3.2.3. Pod に対する describe の実行
OpenShift Container Platform で Pod の問題をトラブルシューティングしたり、Pod の詳細情報を表示したりするには、oc describe pod コマンドを使用して Pod を記述できます。出力の イベント セクションには、Pod とその内部にあるコンテナーに関する詳細情報が表示されます。
手順
次のコマンドを実行して Pod に関する情報を取得します。
$ oc describe pod -n <namespace> busybox-1出力例
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