Complete the command to check pod status including ImagePullBackOff errors.
kubectl get pods --field-selector status.phase=[1]The Pending status includes pods that are waiting to start, often due to ImagePullBackOff errors.
Complete the command to describe a pod and see detailed ImagePullBackOff error messages.
kubectl describe pod [1]Use the pod's name to get detailed info including ImagePullBackOff errors.
Fix the error in the command to check pod logs for troubleshooting ImagePullBackOff.
kubectl logs [1]Logs are retrieved from pods, so you must specify the pod name.
Fill both blanks to create a pod spec snippet that sets the image pull policy to always try pulling the image.
containers: - name: app image: myapp:latest imagePullPolicy: [1] restartPolicy: [2]
Always forces Kubernetes to pull the image every time. OnFailure restarts the pod only if it fails.
Fill all three blanks to create a command that pulls a private image using a secret.
kubectl create secret docker-registry [1] --docker-server=myregistry.com --docker-username=[2] --docker-password=[3]
This command creates a secret named myregistrykey with the given username and password to pull private images.