Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 848 Bytes

File metadata and controls

47 lines (29 loc) · 848 Bytes

Application Failure

  • 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