-
In this lecture we will go step by step in troubleshooting Application failure.
-
To check the Application/Service status of the webserver
curl http://web-service-ip:node-port
-
To check the endpoint of the service and compare it with the selectors
kubectl describe service web-service
-
To check the status and logs of the pod
kubectl get pod
kubectl describe pod web
kubectl logs web
-
To check the logs of the previous pod
kubectl logs web -f --previous
- Lets Troubleshoot the Application