I have an open task review at https://kodekloud-engineer.com/#!/task_review?task_id=6002909b46487af98a6accbc
The pod had two containers - one for
php and the other for
nginx with volumes mounted at different locations. My solution was to modify the configmap (which contains
nginx.conf) and set nginx root directory to accommodate both mount points. This approach yielded the right result (
phpinfo()). However the task got failed on the grounds that
volumes are not correctly mounted. I think that this is incorrect because the volumes were mounted correctly just that the mount point are different on each container.
The task didn’t suggest any particular approach to solving this task. So I assumed that the goal is to get the web app to run, which I technically achieved.
Could you please take a look at this for me?