Fix issue with PhpFpm Application Deployed on Kubernetes




i do this task right i change the default port but i failed i don’t know why really the last two lab i failed for no reason

I completed my task with refer to the Deploy Nginx and Phpfpm on Kubernetes

Hello Folks,

We apologise for the inconvenience. We are aware of this issue and working on to fix the same. It should be fixed soon and you will be assigned these tasks again.

image
this is the mistake
please check it

You need to edit the configmap and restart the deployment . refer above link for successfully completion

i know but the time is over, this why i failed the task, so it’s a part of task?

Hi Guys,
Anyone is able to resolve this issue ? I am facing a similar error and solution provided in the review sections are not correct. For my case following changes were made:

  1. Changed the ports of service to 80

  2. added index.php to configmap as it was not there

  3. Copied index.php to the nginx container

  4. After making above changes I can access website with index.php https://30008-port-49c45e9c5eac4404.labs.kodekloud.com/index.php. But if we access the site directly am getting forbidden error.

  5. As per the review section I have changed the service type to NodePort but still some errors.

  6. And steps from youtube link don’t have any solution but just the steps they have followed while expecting the task.

Looking for solution or help on this case. I have markdown my review again

I have executed above command and later copied the index.php file again to fix the issue

yes I have solved the issue by referring to Solutions