Want to spin up a brand new environment? This repo has the code to create a Kubernetes cluster and configure it to run applications in a specific environment.
This goes hand in hand with the Core Pipeline. In the core pipeline repo you define applications and environments. In this repo you spin up clusters to run such evironments.
In a nutshell, this will point to the Platform Apps repo, using overlays to select environments.
Run ./main.sh <environment_name>
. It will:
- create a local cluster using
K3D
(k3s
indocker
which works great for forwarding traffic) - install
ArgoCD
- configure
ArgoCD
to watch thePlatform Apps
repo on specific overlays based on the environment.
Oh, by the way! This is intended to run on a local Mac, that's why I'm using brew
.