docker https://www.docker.com/products/docker-desktop
git -- git is likely installed, but if it's not https://github.com/git-guides/install-git
curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash
If you don't already have kubectl installed, visit https://kubernetes.io/docs/tasks/tools/ and follow instructions for your OS
If you are on a Mac and have homebrew, you can install it with brew install kubectl
or download as intructed in the link above
Follow instructions at https://fluxcd.io/docs/cmd/
Or if you're feeling froggy: curl -s https://fluxcd.io/install.sh | sh
k3d cluster create gitops -p "9999:30001@server:0"
flux install
mkdir ~/demo-repos # or whever you wanna create a directory for the repos
cd ~/demo-repos # or wherever you created the directory
git clone https://github.com/cnuber/gitops-demo
git clone https://github.com/cnuber/qjs-demo
cd ~/demo-repos/gitops-demo
kubectl apply -f manifests/qjs-ns.yaml # create the namespace for the demo
kubectl apply -f manifests/qjs-repo-crd.yaml -n qjs # create the repo object
kubectl apply -f manifests/qjs-kustomization-crd.yaml -n qjs # create the Flux kustomization object to notify flux to deploy the application from the qjs-demo repository and watch for changes
kubectl get pods -n qjs # pod should exist and be in a running state 2/2
Browse to localhost:9999 and get your boomstick ready
Tear it down (if you don't wanna keep the quake server/client running in k3d on your system for funsies)
k3d cluster delete gitops