Seeking help for laravel app deployment on kubernetes cluster and Google Cloud Console
I am Sanpreet Singh, aspiring Data Scientist hailing from Punjab, India and currently working on app deployment using kubernetes cluster. I am currently deploying laravel app and facing some issues. Structure of my laravel app can be seen by visiting the link https://goo.gl/bFh4kR
Some points to understand before going further I have used three container which are running in a POD. Container 1: It contains my app which is working fine. I have created the docker image of my app and put it in a container which is running inside the POD. There is no problem here and no errors are reported. Container 2: It contains php-fpm which is used to communicate with php artisan and is running fine here. Container 3: It contains Nginx which is used to balance the load and communicate the application with the server. I am getting errors here and I am posting the error here:- nginx container crashing & "Pod errors: CrashLoopBackOff". I opened the pod and saw the error in depth which i am posting as below:- "*3 connect() failed (111: Connection refused) while connecting to upstream, client: 10.36.2.1, server: _, request: "GET /health HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "10.36.2.17:80" I have the file nginx.conf and this error is related with that file. Please click on this link https://goo.gl/PnrKun to open this file. Credit goes to markhilton whose following github repository i did follow to deploy laravel app. You can visit the below link and see his github repository. markhilton laravel app deployment kubernetes I have been trying to fix these errors from a long time but not able to fix them. I think I have clearly mentioned my problem. Please help me in resolving these errors. If something more is needed in understanding my problem then please let me know. I look forward to your reply. Thanks for your consideration. Warm Regards Sanpreet Singh |
Do you have 'php-fpm' installed?
|
All times are GMT -5. The time now is 03:04 AM. |