KiweeEu / magento2-on-kubernetes

Configuration to deploy Magento 2 in a Kubernetes cluster

Home Page:https://kiwee.eu/magento-2-on-kubernetes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Magento 2 on kubernetes

This is a companion repository for our Magento 2 on Kubernetes blog post.

Here you will find all manifests discussed in the article as well as everything else you need to deploy Magento 2 on Kubernetes yourself.

Prerequisites

  • Minikube or a Kubernetes cluster with NGINX Ingress controller and storage provisioning
  • kubectl configured with the proper context
  • Standalone version of kustomize v3.9.0 or newer
  • make

Compatibility

This project is developed and tested using kind with the latest supported patch versions of Kubernetes.

Deployment

Manifests in this repository can be deployed using make.

Starting a Minikube cluster with desired capabilities and addons, downloading external dependencies, and deploying manifests with kustomize are all automated in the Makefile.

# Start a Minikube cluster
make minikube

# Deploy a minimal Magento 2 configuration
make step-1

# Deploy step-1 with Redis for cache and session storage and
# HorizontalPodAutoscalers controlling NGINX and PHP-FPM deployments
make step-2

# Deploy step-2 with Varnish
make step-3

About

Configuration to deploy Magento 2 in a Kubernetes cluster

https://kiwee.eu/magento-2-on-kubernetes/

License:MIT License


Languages

Language:PHP 51.3%Language:VCL 20.1%Language:JavaScript 13.2%Language:Dockerfile 9.7%Language:Makefile 3.0%Language:Shell 2.1%Language:Gherkin 0.5%