Troubleshooting Pods
Each pod that is started by kubernetes goes through a series of steps. Some of the common steps you might see are PodInitializing, Container Creating, Pending, Init, Running, ImagePullBackoff.
If a pod seems to be stuck in a state for a period, some of the following techniques can be
used:
kubectl get pods
NAME READY STATUS RESTARTS AGE
my-nfs-server-provisioner-0 1/1 Running 0 103s
onedb-operator-86d899b5bf-hklq9 0/1 ImagePullBackOff 0 43s
sofy-1-grafana-b7b5f958d-lxcxf 0/2 PodInitializing 0 44s
sofy-1-ksmetrics-6d4677b7d5-zhtmh 1/1 Running 0 44s
sofy-1-odbp-explore-55c9db47c4-nqx8p 0/1 ErrImagePull 0 42s
sofy-1-odbp-mongo-6f6df887df-gn896 0/1 Init:0/1 0 43s
sofy-1-odbp-rest-64f94dfd98-bzj7x 0/1 Init:0/1 0 43s