feat: changed lxc to vm in k3s

This commit is contained in:
Lino Silva
2023-01-03 11:59:54 +00:00
parent 1913d6417c
commit c9c9861a82
33 changed files with 413 additions and 164 deletions
+14
View File
@@ -0,0 +1,14 @@
---
ansible_user: root
ansible_host: 10.0.2.6
ansible_ssh_pass: "{{ proxmox_api_password }}"
ip_addr: 10.0.2.6
k3s_mac_addr: DE:05:FF:02:47:D8
k3s_hostname: k3s-agent-daruk
k3s_lxc_host: 10.0.3.6
k3s_vm_host: 10.0.3.106
k3s_cores: 8
k3s_memory: 4096
k3s_disk: 150
k3s_vmid: 606
k3s_template_id: 900
+2
View File
@@ -6,7 +6,9 @@ ip_addr: 10.0.2.2
k3s_mac_addr: de:05:ff:02:47:d7
k3s_hostname: k3s-master-epona
k3s_lxc_host: 10.0.3.2
k3s_vm_host: 10.0.3.102
k3s_cores: 4
k3s_memory: 8192
k3s_disk: 75
k3s_vmid: 601
k3s_template_id: 901
@@ -0,0 +1,8 @@
---
ansible_user: root
ansible_host: 10.0.2.13
ansible_ssh_pass: "{{ proxmox_api_password }}"
mac_addr: EA:11:8B:05:5A:88
vmid: 203
node: epona
@@ -0,0 +1,5 @@
---
ansible_user: root
ansible_host: 10.0.3.106
ansible_ssh_pass: "{{ proxmox_api_password }}"
@@ -1,4 +1,5 @@
---
ansible_user: root
ansible_host: 10.0.3.4
ansible_host: 10.0.3.104
ansible_ssh_pass: "{{ proxmox_api_password }}"
@@ -1,4 +1,5 @@
---
ansible_user: root
ansible_host: 10.0.3.3
ansible_host: 10.0.3.105
ansible_ssh_pass: "{{ proxmox_api_password }}"
@@ -1,4 +1,5 @@
---
ansible_user: root
ansible_host: 10.0.3.2
ansible_host: 10.0.3.102
ansible_ssh_pass: "{{ proxmox_api_password }}"
@@ -1,4 +1,5 @@
---
ansible_user: root
ansible_host: 10.0.3.1
ansible_host: 10.0.3.103
ansible_ssh_pass: "{{ proxmox_api_password }}"
+3 -1
View File
@@ -5,8 +5,10 @@ ansible_ssh_pass: "{{ proxmox_api_password }}"
ip_addr: 10.0.2.3
k3s_mac_addr: 0e:a0:ff:8c:70:df
k3s_hostname: k3s-master-mipha
k3s_lxc_host: 10.0.3.1
k3s_lxc_host: 10.0.3.3
k3s_vm_host: 10.0.3.103
k3s_cores: 4
k3s_memory: 6144
k3s_disk: 75
k3s_vmid: 602
k3s_template_id: 902
+2
View File
@@ -6,7 +6,9 @@ ip_addr: 10.0.2.4
k3s_mac_addr: 32:47:89:3f:1a:e2
k3s_hostname: k3s-agent-revali
k3s_lxc_host: 10.0.3.4
k3s_vm_host: 10.0.3.104
k3s_cores: 2
k3s_memory: 4096
k3s_disk: 200
k3s_vmid: 603
k3s_template_id: 903
@@ -0,0 +1,8 @@
---
ansible_user: root
ansible_host: 10.0.2.12
ansible_ssh_pass: "{{ proxmox_api_password }}"
mac_addr: C2:F5:B2:99:92:51
vmid: 202
node: revali
+9 -7
View File
@@ -3,10 +3,12 @@ ansible_user: root
ansible_host: 10.0.2.5
ansible_ssh_pass: "{{ proxmox_api_password }}"
ip_addr: 10.0.2.5
k3s_mac_addr: ee:36:d5:79:f8:ff
k3s_hostname: k3s-agent-urbosa
k3s_lxc_host: 10.0.3.3
k3s_cores: 3
k3s_memory: 2048
k3s_disk: 80
k3s_vmid: 604
# k3s_mac_addr: ee:36:d5:79:f8:ff
# k3s_hostname: k3s-agent-urbosa
# k3s_lxc_host: 10.0.3.5
# k3s_vm_host: 10.0.3.105
# k3s_cores: 3
# k3s_memory: 2048
# k3s_disk: 80
# k3s_vmid: 604
# k3s_template_id: 904
@@ -0,0 +1,8 @@
---
ansible_user: root
ansible_host: 10.0.2.11
ansible_ssh_pass: "{{ proxmox_api_password }}"
mac_addr: 72:2E:3C:F0:2A:B3
vmid: 201
node: urbosa
+13 -1
View File
@@ -3,8 +3,8 @@ k3s-master-mipha
k3s-master-epona
[node]
k3s-agent-urbosa
k3s-agent-revali
k3s-agent-daruk
[k3s_cluster:children]
master
@@ -16,8 +16,20 @@ frigate
[lxc:children]
k3s_cluster
[k3s_hosts]
mipha
epona
revali
daruk
[baremetal]
mipha
epona
urbosa
revali
daruk
[pihole]
epona-pihole
revali-pihole
urbosa-pihole