Ajout des disques cloud-init dans la configuration Terraform
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 17s
CD - Deploy Infrastructure / Deploy on pve1 (push) Failing after 30s
CD - Deploy Infrastructure / Deploy on pve2 (push) Failing after 27s
CD - Deploy Infrastructure / Deploy on pve3 (push) Failing after 42s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 17s
CD - Deploy Infrastructure / Deploy on pve1 (push) Failing after 30s
CD - Deploy Infrastructure / Deploy on pve2 (push) Failing after 27s
CD - Deploy Infrastructure / Deploy on pve3 (push) Failing after 42s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s
This commit is contained in:
parent
3b5f1fc2d2
commit
104df8d174
3 changed files with 18 additions and 0 deletions
|
|
@ -54,6 +54,12 @@ resource "proxmox_vm_qemu" "k3s_server_1" {
|
|||
iothread = true
|
||||
}
|
||||
|
||||
disk {
|
||||
slot = "ide2"
|
||||
type = "cloudinit"
|
||||
storage = var.k3s_server_1_storage_pool
|
||||
}
|
||||
|
||||
ipconfig0 = "ip=${var.k3s_server_1_config.ip},gw=${var.k3s_gateway}"
|
||||
cicustom = "user=${var.snippets_storage}:snippets/cloud-init-k3s-server-1.yaml"
|
||||
nameserver = join(" ", var.k3s_dns)
|
||||
|
|
|
|||
|
|
@ -54,6 +54,12 @@ resource "proxmox_vm_qemu" "k3s_server_2" {
|
|||
iothread = true
|
||||
}
|
||||
|
||||
disk {
|
||||
slot = "ide2"
|
||||
type = "cloudinit"
|
||||
storage = var.k3s_server_2_storage_pool
|
||||
}
|
||||
|
||||
ipconfig0 = "ip=${var.k3s_server_2_config.ip},gw=${var.k3s_gateway}"
|
||||
cicustom = "user=${var.snippets_storage}:snippets/cloud-init-k3s-server-2.yaml"
|
||||
nameserver = join(" ", var.k3s_dns)
|
||||
|
|
|
|||
|
|
@ -54,6 +54,12 @@ resource "proxmox_vm_qemu" "etcd_witness" {
|
|||
iothread = true
|
||||
}
|
||||
|
||||
disk {
|
||||
slot = "ide2"
|
||||
type = "cloudinit"
|
||||
storage = var.etcd_witness_storage_pool
|
||||
}
|
||||
|
||||
ipconfig0 = "ip=${var.etcd_witness_config.ip},gw=${var.k3s_gateway}"
|
||||
cicustom = "user=${var.snippets_storage}:snippets/cloud-init-etcd-witness.yaml"
|
||||
nameserver = join(" ", var.k3s_dns)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue