Back to Challenges
easyMonitoring & Debugging
Lost Logs
The application is running, but logs are missing when trying to debug issues. Some containers show logs, others don't.
15 min
Initial Situation
A multi-container pod is deployed with a main application and a sidecar logger. The main application runs fine and you can see its logs with kubectl logs. However, the sidecar container writes logs to a file (/var/log/app.log) instead of stdout. When you try to check the sidecar logs with kubectl logs, nothing appears. This makes debugging issues with the logging system impossible.
Your Mission0/1
Loading validation status...
Start this challenge in your local Kubernetes cluster:
$ kubeasy challenge start lost-logs