feat(proxmox): add k3s agents and refine VM provisioning

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-07-12 23:08:44 +02:00
parent 609e000089
commit dac0d88d60
7 changed files with 102 additions and 141 deletions

View File

@@ -45,36 +45,36 @@ vms:
ciuser: "{{ user }}"
sshkeys: "{{ pubkey }}"
disk_size: 64 # in Gb
# - name: "k3s-agent10"
# node: "naruto01"
# vmid: 210
# cores: 2
# memory: 4096 # in MiB
# net:
# net0: "virtio,bridge=vmbr0,firewall=1"
# boot_image: "{{ proxmox_cloud_init_images.debian.name }}"
# ciuser: "{{ user }}"
# sshkeys: "{{ pubkey }}"
# disk_size: 64 # in Gb
# - name: "k3s-agent11"
# node: "lulu"
# vmid: 211
# cores: 2
# memory: 4096 # in MiB
# net:
# net0: "virtio,bridge=vmbr0,firewall=1"
# boot_image: "{{ proxmox_cloud_init_images.debian.name }}"
# ciuser: "{{ user }}"
# sshkeys: "{{ pubkey }}"
# disk_size: 64 # in Gb
# - name: "k3s-agent12"
# node: "inko"
# vmid: 212
# cores: 2
# memory: 4096 # in MiB
# net:
# net0: "virtio,bridge=vmbr0,firewall=1"
# boot_image: "{{ proxmox_cloud_init_images.debian.name }}"
# ciuser: "{{ user }}"
# sshkeys: "{{ pubkey }}"
# disk_size: 64 # in Gb
- name: "k3s-agent10"
node: "naruto01"
vmid: 210
cores: 2
memory: 4096 # in MiB
net:
net0: "virtio,bridge=vmbr0,firewall=1"
boot_image: "{{ proxmox_cloud_init_images.debian.name }}"
ciuser: "{{ user }}"
sshkeys: "{{ pubkey }}"
disk_size: 64 # in Gb
- name: "k3s-agent11"
node: "lulu"
vmid: 211
cores: 2
memory: 4096 # in MiB
net:
net0: "virtio,bridge=vmbr0,firewall=1"
boot_image: "{{ proxmox_cloud_init_images.debian.name }}"
ciuser: "{{ user }}"
sshkeys: "{{ pubkey }}"
disk_size: 64 # in Gb
- name: "k3s-agent12"
node: "inko"
vmid: 212
cores: 2
memory: 4096 # in MiB
net:
net0: "virtio,bridge=vmbr0,firewall=1"
boot_image: "{{ proxmox_cloud_init_images.debian.name }}"
ciuser: "{{ user }}"
sshkeys: "{{ pubkey }}"
disk_size: 64 # in Gb