- Take me to Practice Test
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