Score:7%
Context
An existing Pod needs to be integrated into the Kubernetes built-in logging architecture (e. g. kubectl logs). Adding a streaming sidecar container is a good and common way to accomplish this requirement.
Task
Add a sidecar container named sidecar, using the busybox Image, to the existing Pod big-corp-app. The new sidecar container has to run the following command:
/bin/sh -c tail -n+1 -f /va r/log/big-corp-app.log
Use a Volume, mounted at /var/log, to make the log file big-corp-app.log available to the sidecar container.
Lewis
9 months agoSherman
9 months agoCorinne
9 months agoGerman
8 months agoJose
8 months agoElin
8 months agoLayla
9 months agoEve
9 months agoFernanda
9 months agoSheridan
9 months agoHerman
9 months agoVallie
9 months agoLezlie
10 months agoMarla
10 months ago