Kubernetes Troubleshooting
This page covers common issues encountered during a Kubernetes deployment. For issues specific to zero-downtime image updates, see Rolling Updates.
Common Issues
Section titled “Common Issues”Pods Not Starting
Section titled “Pods Not Starting”kubectl describe pod <pod-name> -n kmikubectl logs <pod-name> -n kmiImage Pull Errors
Section titled “Image Pull Errors”# Verify registry authenticationdocker login <registry-url>
# Verify the image pull secret existskubectl get secret <your-pull-secret> -n kmiStorage Issues
Section titled “Storage Issues”# Check storage classeskubectl get storageclass
# Check PVC statuskubectl get pvc -n kmiIngress Not Working
Section titled “Ingress Not Working”# Check the ingress controllerkubectl get pods -n ingress-nginx
# Check the ingress configurationkubectl describe ingress kafka-mobility-intelligence-frontend -n kmiGetting Help
Section titled “Getting Help”- Check the application logs for error messages.
- Verify all prerequisites are met.
- Ensure registry authentication is working.
- Check that the required storage classes exist.
- Verify the ingress controller is running.
For additional support, provide the following:
kubectl get pods,svc,ingress -n kmikubectl describe pod <failing-pod> -n kmikubectl logs <failing-pod> -n kmiInclude your .env file with sensitive values removed.