Setup:
Install the following tooling:
- go - the main programming language for this project
- taskfile - task runner and build tool written in go
- docker - container builder and runtime
- minikube - local kubernetes development instance ( will install kubectl as well )
- kubectl - kubernetes controller
- helm - kubernetes package manager
If you are using homebrew for MacOS or Linux,
A Brewfile is checked into this repo for easy setup. If you add to this list, please update the Brewfile
$ brew bundleStart the kubernetes environment:
$ task k8s:startDatabase: PostgreSQL.
Deploy a new empty database on your local kubernetes:
$ task db:deploy
$ kubectl get pods -w # watch cluster come up
$ task db:shell # access database shell