Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 857 Bytes

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

File metadata and controls

39 lines (28 loc) · 857 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 ```