Giter Club home page Giter Club logo

laravel-kubernetes-demo's Introduction

Laravel Kubernetes Demo Application

A simple Laravel Demo Application for a Kubernetes Tutorial.

This application is a simple stateless Laravel installation for learning how to deploy a PHP application to Kubernetes.

As detailed in this tutorial

Installation

This application is nothing more than a simple stateless Laravel installation. However if you wish to install it, simply follow these steps:

Clone the repository

git clone [email protected]:learnk8s/laravel-kubernetes-demo.git

Install dependencies

composer install

Documentation

As detailed in this tutorial

Support

Please email [email protected]

License

The Laravel framework and this demo are open-sourced software licensed under the MIT license.

laravel-kubernetes-demo's People

Contributors

danielepolencic avatar keithmifsud avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-kubernetes-demo's Issues

AH00558: apache2: Could not reliably determine the server's fully qualified domain name. 'ServerName'

Hello. That's a cool guide, thanks.

I have a little problem with my vhosts.conf maybe. I tried to set ServerName with 'localhost' value for this, but no helpful.
Next, I tried to launch your deployments.yaml with your docker image learnk8s/laravel-kubernetes-demo and it also says about this notice.

Environment:

  • Kubernetes v1.19.3
  • Docker version 19.03.13
  • Windows 10 Pro

How to fix this?
$ kubectl logs laravel-kubernetes-demo-<hash-pod>

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.1.0.117. Set the 'ServerName' directive globally to suppress this message

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.1.0.117. Set the 'ServerName' directive globally to suppress this message

[Sat Dec 05 14:19:45.955736 2020] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.10 (Debian) PHP/7.1.8 configured -- resuming normal operations

[Sat Dec 05 14:19:45.955821 2020] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'

Getting error when I run `eval $(minikube docker-env)`

I build and run docker image successfully, but when I run the following command I got this error:

$ eval $(minikube docker-env)

๐Ÿ’ฃ Error getting config: stat /home/xxxx/.minikube/profiles/minikube/config.json: no such file or directory

๐Ÿ˜ฟ minikube is exiting due to an error. If the above message is not useful, open an issue:
๐Ÿ‘‰ https://github.com/kubernetes/minikube/issues/new/choose

$ minikube version
minikube version: v1.6.2
commit: 54f28ac5d3a815d

$ minikube status
host:
kubelet:
apiserver:
kubeconfig:

I tried to minikube start and minikube delete but nothing. Is there anything that I missed?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.