- Deploy Kubernetes
- Deploy Shared Resources
- Deploy Services
- Setup an S3 bucket backend and Dynamodb Lock Table.
- Set up a local KinD cluster
- see
./kind-config.yml
- run
kind create cluster --name <whatever> --config kind-config.yml
- see
- Grab a Digital Ocean account and token to pass to the cli with
-d
- Write some platform configs (see
dev-config.yml
andprod-config.yml
) to pass to the cli with-c
.
In this situation, make sure the path to the config points at a file where provider: kind
.
cli k8s <plan|apply|destroy> -b <bucket> -t <table> -c <config>
In this situation, make sure the path to the config points at a file where provider: do
.
cli infra <plan|apply|destroy> -b <bucket> -t <table> -c <config> -d <do-token>
cli k8s <plan|apply|destroy> -b <bucket> -t <table> -c <config> -d <do-token>
If you don't want to use the terraform found at github.com/w-h-a
, you can write your own and put them up on a public repository.
Then you can pass in the base source to the cli with -s
.
The kubernetes terraform must be in a repo with the name:
<base url>/kubernetes-<provider>
E.g., "github.com/w-h-a/kubernetes-do".
Similarly, the same can be said for:
<base url>/kubeconfig
and
<base url>/kubernetes-namespaces