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 in your deployment through the SMF Ops Center.
You can run the kubectl command from the master node to manage the Kubernetes resources.
The pod details are available in YAML format.
Use the following sample configuration to view the comprehensive pod details:
kubectl get pods -n smf pod_name -o yaml
The output of this command displays 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 when the pod is in the current state.
To view all the pods in the SMF namespace, use the following sample configuration:
kp get pods -n smf_namespace -o wide