Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 1005 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 1005 Bytes

terraform

Usage instructions:

  • Place your authorized_keys file in ./resources/
  • Copy ./vars/proxmox.tfvars.example to ./vars/proxmox.tfvars and update the values to be relevant to your environment.
  • Provision main cluster:
    • Change to clusters directory
    • Run terraform init (only needs to be done the first time or if you update dependent modules)
    • Run terraform plan -var-file ../vars/proxmox.tfvars to see what will be created
    • Run terraform apply plan to create all the things
    • Wait
  • Provision buildkite instances:
    • Change to buildkite directory
    • Run terraform init (only needs to be done the first time or if you update dependent modules)
    • Run terraform plan -var-file ../vars/proxmox.tfvars to see what will be created
    • Run terraform apply plan to create all the things
    • Wait

Notes

  • The gpu worker node(s) have their GPU attached to them manually. This is due to a limitation in the Proxmox terraform provider.