Open-Source WordPress Infrastructure on Kubernetes
For a more thorough documentation check the hosted docs.
- WordPress Operator & WordPress Runtime
- MySQL Operator
- Prometheus Operator
- Nginx Controller & Cert Manager
The project is actively maintained and developed and has reached stable beta state. Check the complete list of releases here. The Presslabs Stack currently runs on Google Cloud Kubernetes Engine and we also have a documented viable deployment flow for Minikube/Docker on Mac/Docker on Windows.
Tiller needs to be initialized in your Kubernetes cluster, eg run
Add the Presslabs helm charts repo:
helm repo add presslabs https://presslabs.github.io/charts helm repo update
Install the CRDs necessar to run the stack:
kubectl apply -f https://raw.githubusercontent.com/presslabs/stack/master/deploy/manifests/00-crds.yaml
Minikube/Docker for Mac
Ensure a larger Minikube with eg,
minikube start --cpus 4 --memory 8192 to provide a working local environment.
helm upgrade -i stack presslabs/stack --namespace presslabs-stack -f https://raw.githubusercontent.com/presslabs/stack/master/presets/minikube.yaml
For GKE is required to have at least three nodes for running components and also have some room for deploying a site. For testing out and playground
g1-small should suffice.
helm upgrade -i stack presslabs/stack --namespace presslabs-stack -f https://raw.githubusercontent.com/presslabs/stack/master/presets/gke.yaml
Deploying a site
helm upgrade -i mysite presslabs/wordpress-site --set 'site.domains=www.example.com'
You can find more detailed information about the contributing process on the docs page.