Skip to content
Snippets Groups Projects
README.md 839 B

Terraform 1

The the goal of this project is to deploy vm with minial interaction.

Used vault values. These will need to be set on local machine. proxmox_token_secret
proxmoxVm_token_secret
proxmox_password
grafana_key
ssh_key

Build order:

  1. Hypervisory
    1. This builds Proxmox.
    2. You will need to make a API key and add it to proxmoxVm_token_secret.
  2. vmOnVM
    1. This build a ubuntu server and k3s.
    2. you will need to copy k3s_config.yaml and copy it into serviceDiscovery.
  3. serviceDiscovery
    1. Deploys a wordpress and a nginx pod in k3s.
  4. monitoring
    1. This deploys Grafana to monitor the created vms.
    2. You will need to make a sevice account and add the key to grafana_key.
    3. Rerun Hypervisory and vmOnVM to send data to Grafana.