Viewing the Pod Details and Status

If the service requires additional pods, SMF creates and deploys the pods. You can view the list of pods that are participating in your deployment through the SMF Ops Center.

You can run the kubectl command from the master node to manage the Kubernetes resources.

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

    kubectl get pods -n smf pod_name -o yaml 

The pod details are available in YAML format. The output of this command results in the following information:

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

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

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

  • The IP address of the pod.

  • The current state and phase in which the pod is.

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

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

kp get pods -n smf_namespace -o wide