Pod Details

  1. To view the comprehensive pod details, use the following command.

    kubectl get pods -n sgw pod_name -o yaml 

The output of this command provides the pod details in YAML format with the following information:

  • The IP address of the host where the pod is deployed.

  • The service and the application that is running on the pod.

  • The ID and the name of the container within the pod.

  • The IP address of the pod.

  • The present state and phase of the pod.

  • The start time from which pod is in the present state.

Use the following command to view the summary of the pod details.

kubectl get pods -n sgw_namespace -o wide