Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 935 Bytes

File metadata and controls

49 lines (30 loc) · 935 Bytes

Application Failure

  • Take me to Lecture

  • 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
    

    app

  • To check the endpoint of the service and compare it with the selectors

    kubectl describe service web-service
    

    svc

  • 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
    

    db

Hands on Labs