All Projects → dambergautam → laravel-kubernetes-helm

dambergautam / laravel-kubernetes-helm

Licence: other
Deploy a Laravel Application on Kubernetes with Helm

Programming Languages

shell
77523 projects
Mustache
554 projects

Projects that are alternatives of or similar to laravel-kubernetes-helm

teamo-ddd-example
Implementing Domain Driven Design in PHP using Laravel
Stars: ✭ 46 (+48.39%)
Mutual labels:  laravel-application
khelm
A Helm chart templating CLI, kpt function and kustomize plugin
Stars: ✭ 46 (+48.39%)
Mutual labels:  helm-charts
social-network
Social Network made with Laravel + Vue + Love implementing TDD and Laravel Dusk tests
Stars: ✭ 25 (-19.35%)
Mutual labels:  laravel-application
helm-charts
Official Helm Chart Repository for InfluxData Applications
Stars: ✭ 133 (+329.03%)
Mutual labels:  helm-charts
data-center-helm-charts
Helm charts for Atlassian's Data Center products
Stars: ✭ 77 (+148.39%)
Mutual labels:  helm-charts
helm-charts
Dex Helm chart repository
Stars: ✭ 16 (-48.39%)
Mutual labels:  helm-charts
larapos
Simple Point of Sale Applications build with laravel 5.3 and VueJs2
Stars: ✭ 64 (+106.45%)
Mutual labels:  laravel-application
smartcheck-helm
Helm chart to deploy Trend Micro Deep Security Smart Check.
Stars: ✭ 41 (+32.26%)
Mutual labels:  helm-charts
stackstorm-ha
K8s Helm Chart (βeta!) that codifies StackStorm (aka "IFTTT for Ops" https://stackstorm.com/) Highly Availability fleet as a simple to use reproducible infrastructure-as-code app
Stars: ✭ 74 (+138.71%)
Mutual labels:  helm-charts
charts
My helm charts
Stars: ✭ 15 (-51.61%)
Mutual labels:  helm-charts
helm-charts
Official Centrifugo Helm chart for Kubernetes
Stars: ✭ 16 (-48.39%)
Mutual labels:  helm-charts
charts
Public helm charts
Stars: ✭ 15 (-51.61%)
Mutual labels:  helm-charts
anchore-charts
Helm charts for Anchore tools and services
Stars: ✭ 38 (+22.58%)
Mutual labels:  helm-charts
aks-multi-tenant-agic
This sample shows how to use the Application Gateway Ingress Controller in a multi-tenant AKS cluster to expose multiple instances of the same application, one for each tenant.
Stars: ✭ 27 (-12.9%)
Mutual labels:  helm-charts
helm-charts
Helm Charts
Stars: ✭ 26 (-16.13%)
Mutual labels:  helm-charts
charts
☸️ Helm Charts for YOURLS
Stars: ✭ 12 (-61.29%)
Mutual labels:  helm-charts
gradle-helm-plugin
A Gradle plugin for building, publishing and managing Helm charts.
Stars: ✭ 42 (+35.48%)
Mutual labels:  helm-charts
chartcenter
The Central Helm Repository for the Community
Stars: ✭ 40 (+29.03%)
Mutual labels:  helm-charts
k8s-ovpn-chart
[DEPRECATED] Helm chart for a private OpenVPN server
Stars: ✭ 19 (-38.71%)
Mutual labels:  helm-charts
helm-charts
docs.renovatebot.com/helm-charts
Stars: ✭ 51 (+64.52%)
Mutual labels:  helm-charts

Deploy laravel on Kubernetes with Helm chart

To more easily deploy and manage the Laravel application containers in a Kubernetes cluster, you can use Helm charts.

This guide walks you through the process of running an laravel application on a Kubernetes cluster. I will use PHP-FPM (FastCGI Process Manager), Nginx and MariaDB to run the application.

How to get started?

Before you begin, please ensure Docker, Docker Compose, Helm and Kubernetes are installed and Docker is running.

Step 1:

Clone this project git clone https://github.com/dambergautam/laravel-kubernetes-helm.git.

Step 2:

Run below command to add blank laravel project from root directory.

bash ./bin/install-project.sh

This command will

  • install new laravel project docker/laravel
  • create docker images and run containers
  • perform series of Laravel Artisan and NPM commands in the container.

To access website locally, visit http://localhost:82/.

Homepage Screenshot

Step 3:

To deploy the application on kubernetes using helm chart, create PHPFPM image with laravel application source

# Create new image
docker build -t <docker-registry-host>/laravel-application:0.1.0 ./docker/Dockerfile.phpfpm

# You might have to login to push image in docker repository.
docker login <docker-registry-host>

# Push image to your private repository
docker push <docker-registry-host>/laravel-application:0.1.0

Create Nginx image

docker build -t <docker-registry-host>/fellowship-nginx:0.0.3 ./docker/Dockerfile.nginx
docker push <docker-registry-host>/fellowship-nginx:0.0.3

Now, that you have all required images in docker repository, you can install/update helm chart by running below command from root directory.

bash ./bin/publish_chart.sh
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].