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.
Deeann
4 months agoKris
4 months agoCaprice
4 months agoLeigha
3 months agoGerald
3 months agoKallie
3 months agoSena
3 months agoElke
3 months agoLili
4 months agoVincenza
4 months agoTasia
5 months agoBambi
5 months agoClorinda
5 months agoGraham
4 months agoWilburn
4 months agoNidia
5 months agoTasia
5 months agoBambi
5 months ago