Describe the bug
When applying the yaml as in the solution (or with the sidecar as an init/sidecar container) the main-container fails to start, the logs show:
[alert] could not open error log file: Open() "/var/log/nginx/error.log" failed (2: No such file or directory)
I think this is because mounting the emptyDir /var/log, removes nginx's expected directory structure
Environment (please complete the following):
Report in Depth
The exercise can not be completed within reasonable time
Steps to reproduce
Yes, just run the exam
Describe the bug
When applying the yaml as in the solution (or with the sidecar as an init/sidecar container) the main-container fails to start, the logs show:
[alert] could not open error log file: Open() "/var/log/nginx/error.log" failed (2: No such file or directory)
I think this is because mounting the emptyDir /var/log, removes nginx's expected directory structure
Environment (please complete the following):
Report in Depth
The exercise can not be completed within reasonable time
Steps to reproduce
Yes, just run the exam