This gist is a reference for a live series called Terraforming Kubernetes. The point of this gist is to give you a quick way to:
- Use Terraform via Object Storage and Github Actions
- Provision a Kubernetes Cluster
- Install Knative and Istio
Step 1: Fork tf-python
Step 2: Create an Akamai Linode Account
Note: Use us-east-1 (Newark, NJ) or update the configuration in infra/main.tf
LINODE_OBJECT_STORAGE_BUCKET
: Get this from your new bucket in step 3LINODE_OBJECT_STORAGE_ACCESS_KEY
: Create a new key in the linode console at https://cloud.linode.com/object-storage/access-keysLINODE_OBJECT_STORAGE_SECRET_KEY
: This should correspond the the newly created keyLINODE_PA_TOKEN
: Create a new PAT token at https://cloud.linode.com/profile/tokens.
Assuming you forked tf-python correctly, you should have a Github Action called Sync Infrastructure via Terraform
. Run this to provision your kubernetes cluster.
Run 1-install-knative-istio.sh
or run kubctl
commands within that file manually (if on windows).