Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-27-2018, 12:52 AM   #1
Sanpreet Singh
Registered: Jan 2013
Location: Malout,Punjab
Distribution: Ubuntu(Debian),
Posts: 39
Blog Entries: 1

Rep: Reputation: Disabled
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

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:, server: _, request: "GET /health HTTP/1.1", upstream: "fastcgi://", host: ""

I have the file nginx.conf and this error is related with that file. Please click on this link 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
Old 11-27-2018, 09:12 PM   #2
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
Do you have 'php-fpm' installed?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Cloud 5: GE all in on public cloud, IBM-SAP cloud partnership, Big data and the cloud LXer Syndicated Linux News 0 10-18-2014 04:41 AM
LXer: Cloud 5: Has cloud killed on-prem software, the enterprise cloud wars, and cloud computing and LXer Syndicated Linux News 0 08-22-2014 11:40 AM
LXer: Cloud 5: Dispelling cloud myths, the cloud security excuse, and the fight for cloud supremacy LXer Syndicated Linux News 0 06-20-2014 04:12 PM
LXer: Cloud 5: Netflix's cloud-connected brain, 5 cloud myths and from cloud to fog LXer Syndicated Linux News 0 02-21-2014 02:20 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration