Skip to content

alijahnas/lamp-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Description

These manifests are used to deploy a LAMP stack on Kubernetes.

TL;DR

git clone https://github.com/alijahnas/lamp-k8s
cd lamp-k8s
# The namespace before everything else
kubectl apply -f manifests/lamp-k8s-namespace.yaml
kubectl apply -f manifests
kubectl get all -n lamp-k8s

More description

We have a deployment of PHP-FPM. Number of instances is configurable through deployment replicas.

We have a deployment of Apache webserver using FastCGI to connect to the PHP-FPM service. Number of instances is configurable through deployment replicas.

We have a deployment of a single MySQL database, with a persistent volume to store the DB.

To access the application, use to get the external IP:

kubectl get svc lamp-apache -n lamp-k8s

About

Custom LAMP stack deployment for Kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages