My personal setup of local "cloud" environment, may be useful for someone.
- Clone the repo
git clone https://github.com/AndreiChenchik/local-cluster.git
cd local-cluster
- Get active kubectl context I'm using k3d, but you can use built-in kubernetes cluster from Docker, or connect to any other cluster, but I don't advice you to use this configuration on any real clusters, this supposed to be a local deployment only.
k3d cluster create -c k3d.yaml
- Deploy apps The command below will deploy the fluxcd using pulumi and then fluxcd will deploy all the apps and will be doing GitOps by watching this repo for any changes.
pulumi up
Pulumi is used to provide cluster with secrets needed for operation.