Viewing the Pod Details and Status
This section describes how to view the pod details.
If the service requires additional pods, PCF creates and deploys the pods. You can view the list of pods that are participating in your deployment through the PCF Ops Center.
You can run the kubectl command from the master node to manage the Kubernetes resources.
-
To view the comprehensive pod details, use the following configuration:
kubectl get pods -n pcf 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.
-
-
To view the summary of the pod details, use the following configuration:
kp -get pods -o wide