Skip to content

Latest commit

 

History

History
60 lines (37 loc) · 1.46 KB

README.md

File metadata and controls

60 lines (37 loc) · 1.46 KB

Kubernetes for Symfony

license contributions HitCount


WARNING ⚠️ This project is no longer maintained (for now)


Introduction

This stack is a starting point for building a distributed and scalable stack with Kubernetes. It runs locally with Minikube, but it can be modified to use AWS or GCE. Any contribution in this direction would be appreciated.

Quick guide

Requirements

Usage

Build and start the stack:

  • Define your passwords in kubernetes/secrets.yaml, encrypted in base64:
echo -n "MYPASSWORD" | base64

For Jenkins encrypt: --argumentsRealm.passwd.jenkins=MYPASSWORD --argumentsRealm.roles.jenkins=admin

  • Start the stack
./scripts/start-and-create.sh
  • Create local persistent volumes
./scripts/create-persistent-volumes.sh
  • Clone your repository into the stack (set 'mysql' as database host)
./scripts/clone-my-repository.sh

Clean up and stop the stack:

./scripts/stop-and-delete.sh