Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 738 Bytes

06-Practice-Test-Managing-Application-Logs.md

File metadata and controls

44 lines (27 loc) · 738 Bytes

Practice Test - Managing Application Logs

Solutions to practice test - managing application logs

  • We have deployed a POD hosting an application. Inspect it. Wait for it to start.

    $ kubectl get pods
    
  • Inspect the logs of the POD

    $ kubectl logs webapp-1
    
  • We have deployed a new POD - 'webapp-2' - hosting an application. Inspect it. Wait for it to start.

    $ kubectl get pods
    
  • Inspect the logs of the webapp in the POD

    $ kubectl logs webapp-2