LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-27-2018, 12:52 AM   #1
Sanpreet Singh
Member
 
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 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
 
Old 11-27-2018, 09:12 PM   #2
AwesomeMachine
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?
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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