k8s for y@. A demo platform.
- minikube
- asdf
- 1Password Secrets Automation (via the 1Password Operator)
y8s uses the 1Password operator to pull secrets into the cluster. Ideally this is the only secret value that you need to provide during bootstrap, but it does take a little bit of setup. Setup "Secrets Automation" at https://my.1password.com/integrations/active. Once that is provisioned, set the 1Password token and credentials JSON values into the example from env-example, saving the file as .env
.
Bootstrap the system with:
minikube start --driver=hyperkit --memory=6g
make # enables needed plugins in minikube, installs tools via `asdf`
make install # installs ArgoCD and bootstraps the services for the cluster
If successful, it'll start up an ArgoCD instance which will bootstrap the rest of the apps included in this repo.
Tear it all down with:
make uninstall
sudo rm /etc/resolver/y8s-resolver # only if you setup ingress-dns on mac
minikube delete # optional