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