This will create a k8 cluster using terraform on Jetstream 2. Has options for CPU and GPU nodes. Currently works on Jetstream 2.
- Add the name of your public key to k8.tfvars
- Adjust the number of followers you need for your k8 cluster.
- Run terraform init in the git repo
- Run terraform apply and review the changes. Answer yes if changes look good.
If you run into issues with SSH, run these steps:
- cd into the root directory of terraform-js2-k8cluster
- eval $(ssh-agent)
- ssh-add ../.ssh/your_ssh_key