no waits
This commit is contained in:
@@ -156,6 +156,7 @@ resource "proxmox_virtual_environment_vm" "flatcar_template" {
|
||||
stop_on_destroy = true
|
||||
description = "managed by terraform - base template for flatcar"
|
||||
tags = ["flatcar","kubernetes","terraform"]
|
||||
vm_id = 999
|
||||
|
||||
lifecycle {
|
||||
ignore_changes = [
|
||||
@@ -309,6 +310,7 @@ resource "proxmox_virtual_environment_vm" "control_plane1" {
|
||||
tags = ["control-plane","flatcar","kubernetes","terraform"]
|
||||
depends_on = [proxmox_virtual_environment_file.control_plane1_ignition]
|
||||
boot_order = ["virtio0"]
|
||||
vm_id = 1001
|
||||
|
||||
startup {
|
||||
order = "1"
|
||||
@@ -346,6 +348,7 @@ resource "proxmox_virtual_environment_vm" "control_plane1" {
|
||||
|
||||
resource "proxmox_virtual_environment_vm" "control_plane2" {
|
||||
name = "control-plane2"
|
||||
vm_id = 1002
|
||||
node_name = "hyper2"
|
||||
description = "kubernetes control-plane2"
|
||||
tags = ["control-plane","flatcar","kubernetes","terraform"]
|
||||
@@ -389,6 +392,7 @@ resource "proxmox_virtual_environment_vm" "control_plane2" {
|
||||
}
|
||||
resource "proxmox_virtual_environment_vm" "control_plane3" {
|
||||
name = "control-plane3"
|
||||
vm_id = 1003
|
||||
node_name = "hyper3"
|
||||
description = "kubernetes control-plane3"
|
||||
tags = ["control-plane","flatcar","kubernetes","terraform"]
|
||||
@@ -438,6 +442,7 @@ resource "proxmox_virtual_environment_vm" "control_plane3" {
|
||||
|
||||
resource "proxmox_virtual_environment_vm" "worker1" {
|
||||
name = "worker1"
|
||||
vm_id = 1011
|
||||
node_name = "hyper1"
|
||||
description = "kubernetes worker1"
|
||||
tags = ["worker","flatcar","kubernetes","terraform"]
|
||||
@@ -481,6 +486,7 @@ resource "proxmox_virtual_environment_vm" "worker1" {
|
||||
}
|
||||
resource "proxmox_virtual_environment_vm" "worker2" {
|
||||
name = "worker2"
|
||||
vm_id = 1012
|
||||
node_name = "hyper2"
|
||||
description = "kubernetes worker2"
|
||||
tags = ["worker","flatcar","kubernetes","terraform"]
|
||||
@@ -524,6 +530,7 @@ resource "proxmox_virtual_environment_vm" "worker2" {
|
||||
}
|
||||
resource "proxmox_virtual_environment_vm" "worker3" {
|
||||
name = "worker3"
|
||||
vm_id = 1013
|
||||
node_name = "hyper3"
|
||||
description = "kubernetes worker3"
|
||||
tags = ["worker","flatcar","kubernetes","terraform"]
|
||||
@@ -567,6 +574,7 @@ resource "proxmox_virtual_environment_vm" "worker3" {
|
||||
}
|
||||
resource "proxmox_virtual_environment_vm" "worker4" {
|
||||
name = "worker4"
|
||||
vm_id = 1014
|
||||
node_name = "pbs"
|
||||
description = "kubernetes worker4"
|
||||
tags = ["worker","flatcar","kubernetes","terraform"]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 4,
|
||||
"terraform_version": "1.12.2",
|
||||
"serial": 1199,
|
||||
"serial": 1247,
|
||||
"lineage": "d92c42be-29f9-bad9-ef9a-3dc952ff5fa5",
|
||||
"outputs": {},
|
||||
"resources": [
|
||||
@@ -161,7 +161,7 @@
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"id": "1843431068323746952",
|
||||
"id": "6225671499492048727",
|
||||
"triggers": null
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
@@ -193,7 +193,7 @@
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"id": "5251948354307203741",
|
||||
"id": "7412815847183625707",
|
||||
"triggers": null
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
@@ -217,7 +217,7 @@
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"id": "7417463739352693308",
|
||||
"id": "7142081680222575747",
|
||||
"triggers": null
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
@@ -264,8 +264,7 @@
|
||||
"verify": true
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"identity_schema_version": 0,
|
||||
"private": "eyJvcmlnaW5hbF9zdGF0ZV9zaXplIjoiTlRjek1qUXpNemt5In0="
|
||||
"identity_schema_version": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -559,7 +558,7 @@
|
||||
"full": true,
|
||||
"node_name": "hyper1",
|
||||
"retries": 1,
|
||||
"vm_id": 105
|
||||
"vm_id": 999
|
||||
}
|
||||
],
|
||||
"cpu": [
|
||||
@@ -567,7 +566,7 @@
|
||||
"affinity": "",
|
||||
"architecture": "",
|
||||
"cores": 2,
|
||||
"flags": [],
|
||||
"flags": null,
|
||||
"hotplugged": 0,
|
||||
"limit": 0,
|
||||
"numa": false,
|
||||
@@ -581,7 +580,7 @@
|
||||
"efi_disk": [],
|
||||
"hook_script_file_id": null,
|
||||
"hostpci": [],
|
||||
"id": "107",
|
||||
"id": "1001",
|
||||
"initialization": [
|
||||
{
|
||||
"datastore_id": "Pool1",
|
||||
@@ -602,19 +601,7 @@
|
||||
],
|
||||
[
|
||||
"10.0.2.91"
|
||||
],
|
||||
[],
|
||||
[
|
||||
"10.0.10.192"
|
||||
],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
||||
],
|
||||
"ipv6_addresses": [
|
||||
[
|
||||
@@ -623,52 +610,14 @@
|
||||
[
|
||||
"2001:470:7116:2::91",
|
||||
"fd00:0:0:2::91",
|
||||
"fe80::be24:11ff:fead:6c8"
|
||||
],
|
||||
[
|
||||
"fe80::ecee:eeff:feee:eeee"
|
||||
],
|
||||
[],
|
||||
[
|
||||
"2001:470:7116:a:8495:c8a0:d59b:d0c0"
|
||||
],
|
||||
[
|
||||
"fe80::ecee:eeff:feee:eeee"
|
||||
],
|
||||
[
|
||||
"fe80::ecee:eeff:feee:eeee"
|
||||
],
|
||||
[
|
||||
"fe80::ecee:eeff:feee:eeee"
|
||||
],
|
||||
[
|
||||
"fe80::ecee:eeff:feee:eeee"
|
||||
],
|
||||
[
|
||||
"fe80::ecee:eeff:feee:eeee"
|
||||
],
|
||||
[
|
||||
"fe80::ecee:eeff:feee:eeee"
|
||||
],
|
||||
[
|
||||
"fe80::ecee:eeff:feee:eeee"
|
||||
"fe80::be24:11ff:fed4:dff2"
|
||||
]
|
||||
],
|
||||
"keyboard_layout": "en-us",
|
||||
"kvm_arguments": null,
|
||||
"mac_addresses": [
|
||||
"00:00:00:00:00:00",
|
||||
"BC:24:11:AD:06:C8",
|
||||
"EE:EE:EE:EE:EE:EE",
|
||||
"00:00:00:00:00:00",
|
||||
"66:78:AC:F8:81:98",
|
||||
"EE:EE:EE:EE:EE:EE",
|
||||
"EE:EE:EE:EE:EE:EE",
|
||||
"EE:EE:EE:EE:EE:EE",
|
||||
"EE:EE:EE:EE:EE:EE",
|
||||
"EE:EE:EE:EE:EE:EE",
|
||||
"EE:EE:EE:EE:EE:EE",
|
||||
"EE:EE:EE:EE:EE:EE"
|
||||
"BC:24:11:D4:DF:F2"
|
||||
],
|
||||
"machine": null,
|
||||
"memory": [
|
||||
@@ -688,7 +637,7 @@
|
||||
"disconnected": false,
|
||||
"enabled": true,
|
||||
"firewall": false,
|
||||
"mac_address": "BC:24:11:AD:06:C8",
|
||||
"mac_address": "BC:24:11:D4:DF:F2",
|
||||
"model": "virtio",
|
||||
"mtu": 0,
|
||||
"queues": 0,
|
||||
@@ -699,17 +648,7 @@
|
||||
],
|
||||
"network_interface_names": [
|
||||
"lo",
|
||||
"eth0",
|
||||
"cali982d92a1927",
|
||||
"tunl0",
|
||||
"vxlan-v6.calico",
|
||||
"cali255e4efe8a9",
|
||||
"cali8f088fa0194",
|
||||
"cali960214389c4",
|
||||
"calic6a4033d162",
|
||||
"cali0dff2628096",
|
||||
"calif38a99f23dd",
|
||||
"cali3bb4f309ad6"
|
||||
"eth0"
|
||||
],
|
||||
"node_name": "hyper1",
|
||||
"numa": [],
|
||||
@@ -752,7 +691,7 @@
|
||||
"usb": [],
|
||||
"vga": [],
|
||||
"virtiofs": [],
|
||||
"vm_id": 107,
|
||||
"vm_id": 1001,
|
||||
"watchdog": []
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
@@ -791,7 +730,7 @@
|
||||
"full": true,
|
||||
"node_name": "hyper1",
|
||||
"retries": 1,
|
||||
"vm_id": 105
|
||||
"vm_id": 999
|
||||
}
|
||||
],
|
||||
"cpu": [
|
||||
@@ -799,7 +738,7 @@
|
||||
"affinity": "",
|
||||
"architecture": "",
|
||||
"cores": 2,
|
||||
"flags": [],
|
||||
"flags": null,
|
||||
"hotplugged": 0,
|
||||
"limit": 0,
|
||||
"numa": false,
|
||||
@@ -813,7 +752,7 @@
|
||||
"efi_disk": [],
|
||||
"hook_script_file_id": null,
|
||||
"hostpci": [],
|
||||
"id": "108",
|
||||
"id": "1002",
|
||||
"initialization": [
|
||||
{
|
||||
"datastore_id": "Pool1",
|
||||
@@ -834,12 +773,7 @@
|
||||
],
|
||||
[
|
||||
"10.0.2.92"
|
||||
],
|
||||
[
|
||||
"10.0.10.64"
|
||||
],
|
||||
[],
|
||||
[]
|
||||
]
|
||||
],
|
||||
"ipv6_addresses": [
|
||||
[
|
||||
@@ -848,24 +782,14 @@
|
||||
[
|
||||
"2001:470:7116:2::92",
|
||||
"fd00:0:0:2::92",
|
||||
"fe80::be24:11ff:feda:a900"
|
||||
],
|
||||
[],
|
||||
[
|
||||
"2001:470:7116:a:63eb:d7a8:d9b3:1e00"
|
||||
],
|
||||
[
|
||||
"fe80::ecee:eeff:feee:eeee"
|
||||
"fe80::be24:11ff:fe27:56ac"
|
||||
]
|
||||
],
|
||||
"keyboard_layout": "en-us",
|
||||
"kvm_arguments": null,
|
||||
"mac_addresses": [
|
||||
"00:00:00:00:00:00",
|
||||
"BC:24:11:DA:A9:00",
|
||||
"00:00:00:00:00:00",
|
||||
"66:42:B5:2A:6A:1B",
|
||||
"EE:EE:EE:EE:EE:EE"
|
||||
"BC:24:11:27:56:AC"
|
||||
],
|
||||
"machine": null,
|
||||
"memory": [
|
||||
@@ -885,7 +809,7 @@
|
||||
"disconnected": false,
|
||||
"enabled": true,
|
||||
"firewall": false,
|
||||
"mac_address": "BC:24:11:DA:A9:00",
|
||||
"mac_address": "BC:24:11:27:56:AC",
|
||||
"model": "virtio",
|
||||
"mtu": 0,
|
||||
"queues": 0,
|
||||
@@ -896,10 +820,7 @@
|
||||
],
|
||||
"network_interface_names": [
|
||||
"lo",
|
||||
"eth0",
|
||||
"tunl0",
|
||||
"vxlan-v6.calico",
|
||||
"calif29c4c18d09"
|
||||
"eth0"
|
||||
],
|
||||
"node_name": "hyper2",
|
||||
"numa": [],
|
||||
@@ -942,7 +863,7 @@
|
||||
"usb": [],
|
||||
"vga": [],
|
||||
"virtiofs": [],
|
||||
"vm_id": 108,
|
||||
"vm_id": 1002,
|
||||
"watchdog": []
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
@@ -985,7 +906,7 @@
|
||||
"full": true,
|
||||
"node_name": "hyper1",
|
||||
"retries": 1,
|
||||
"vm_id": 105
|
||||
"vm_id": 999
|
||||
}
|
||||
],
|
||||
"cpu": [
|
||||
@@ -993,7 +914,7 @@
|
||||
"affinity": "",
|
||||
"architecture": "",
|
||||
"cores": 2,
|
||||
"flags": [],
|
||||
"flags": null,
|
||||
"hotplugged": 0,
|
||||
"limit": 0,
|
||||
"numa": false,
|
||||
@@ -1007,7 +928,7 @@
|
||||
"efi_disk": [],
|
||||
"hook_script_file_id": null,
|
||||
"hostpci": [],
|
||||
"id": "109",
|
||||
"id": "1003",
|
||||
"initialization": [
|
||||
{
|
||||
"datastore_id": "Pool1",
|
||||
@@ -1028,12 +949,7 @@
|
||||
],
|
||||
[
|
||||
"10.0.2.93"
|
||||
],
|
||||
[],
|
||||
[
|
||||
"10.0.10.0"
|
||||
],
|
||||
[]
|
||||
]
|
||||
],
|
||||
"ipv6_addresses": [
|
||||
[
|
||||
@@ -1042,24 +958,14 @@
|
||||
[
|
||||
"2001:470:7116:2::93",
|
||||
"fd00:0:0:2::93",
|
||||
"fe80::be24:11ff:fe30:da72"
|
||||
],
|
||||
[
|
||||
"fe80::ecee:eeff:feee:eeee"
|
||||
],
|
||||
[],
|
||||
[
|
||||
"2001:470:7116:a:edec:9c79:57a2:840"
|
||||
"fe80::be24:11ff:fe1a:a9f2"
|
||||
]
|
||||
],
|
||||
"keyboard_layout": "en-us",
|
||||
"kvm_arguments": null,
|
||||
"mac_addresses": [
|
||||
"00:00:00:00:00:00",
|
||||
"BC:24:11:30:DA:72",
|
||||
"EE:EE:EE:EE:EE:EE",
|
||||
"00:00:00:00:00:00",
|
||||
"66:EE:86:C9:B8:69"
|
||||
"BC:24:11:1A:A9:F2"
|
||||
],
|
||||
"machine": null,
|
||||
"memory": [
|
||||
@@ -1079,7 +985,7 @@
|
||||
"disconnected": false,
|
||||
"enabled": true,
|
||||
"firewall": false,
|
||||
"mac_address": "BC:24:11:30:DA:72",
|
||||
"mac_address": "BC:24:11:1A:A9:F2",
|
||||
"model": "virtio",
|
||||
"mtu": 0,
|
||||
"queues": 0,
|
||||
@@ -1090,10 +996,7 @@
|
||||
],
|
||||
"network_interface_names": [
|
||||
"lo",
|
||||
"eth0",
|
||||
"calif5887e5f5a5",
|
||||
"tunl0",
|
||||
"vxlan-v6.calico"
|
||||
"eth0"
|
||||
],
|
||||
"node_name": "hyper3",
|
||||
"numa": [],
|
||||
@@ -1136,7 +1039,7 @@
|
||||
"usb": [],
|
||||
"vga": [],
|
||||
"virtiofs": [],
|
||||
"vm_id": 109,
|
||||
"vm_id": 1003,
|
||||
"watchdog": []
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
@@ -1187,7 +1090,7 @@
|
||||
"affinity": "",
|
||||
"architecture": "",
|
||||
"cores": 1,
|
||||
"flags": [],
|
||||
"flags": null,
|
||||
"hotplugged": 0,
|
||||
"limit": 0,
|
||||
"numa": false,
|
||||
@@ -1209,18 +1112,18 @@
|
||||
"import_from": "cephfs:import/flatcar_production_proxmoxve_image.qcow2",
|
||||
"interface": "virtio0",
|
||||
"iothread": false,
|
||||
"path_in_datastore": "vm-105-disk-0",
|
||||
"path_in_datastore": "vm-999-disk-0",
|
||||
"replicate": true,
|
||||
"serial": "",
|
||||
"size": 50,
|
||||
"speed": [],
|
||||
"ssd": true
|
||||
"ssd": false
|
||||
}
|
||||
],
|
||||
"efi_disk": [],
|
||||
"hook_script_file_id": null,
|
||||
"hostpci": [],
|
||||
"id": "105",
|
||||
"id": "999",
|
||||
"initialization": [
|
||||
{
|
||||
"datastore_id": "Pool1",
|
||||
@@ -1240,7 +1143,7 @@
|
||||
"keyboard_layout": "en-us",
|
||||
"kvm_arguments": "",
|
||||
"mac_addresses": [
|
||||
"BC:24:11:3A:AF:86"
|
||||
"BC:24:11:04:26:47"
|
||||
],
|
||||
"machine": "",
|
||||
"memory": [
|
||||
@@ -1260,7 +1163,7 @@
|
||||
"disconnected": false,
|
||||
"enabled": true,
|
||||
"firewall": false,
|
||||
"mac_address": "BC:24:11:3A:AF:86",
|
||||
"mac_address": "BC:24:11:04:26:47",
|
||||
"model": "virtio",
|
||||
"mtu": 0,
|
||||
"queues": 0,
|
||||
@@ -1304,7 +1207,7 @@
|
||||
"usb": [],
|
||||
"vga": [],
|
||||
"virtiofs": [],
|
||||
"vm_id": 105,
|
||||
"vm_id": 999,
|
||||
"watchdog": []
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
@@ -1340,7 +1243,7 @@
|
||||
"full": true,
|
||||
"node_name": "hyper1",
|
||||
"retries": 1,
|
||||
"vm_id": 105
|
||||
"vm_id": 999
|
||||
}
|
||||
],
|
||||
"cpu": [
|
||||
@@ -1348,7 +1251,7 @@
|
||||
"affinity": "",
|
||||
"architecture": "",
|
||||
"cores": 2,
|
||||
"flags": [],
|
||||
"flags": null,
|
||||
"hotplugged": 0,
|
||||
"limit": 0,
|
||||
"numa": false,
|
||||
@@ -1362,7 +1265,7 @@
|
||||
"efi_disk": [],
|
||||
"hook_script_file_id": null,
|
||||
"hostpci": [],
|
||||
"id": "113",
|
||||
"id": "1011",
|
||||
"initialization": [
|
||||
{
|
||||
"datastore_id": "Pool1",
|
||||
@@ -1392,14 +1295,14 @@
|
||||
[
|
||||
"2001:470:7116:2::101",
|
||||
"fd00:0:0:2::101",
|
||||
"fe80::be24:11ff:fe79:dbdb"
|
||||
"fe80::be24:11ff:fe1e:5a3f"
|
||||
]
|
||||
],
|
||||
"keyboard_layout": "en-us",
|
||||
"kvm_arguments": null,
|
||||
"mac_addresses": [
|
||||
"00:00:00:00:00:00",
|
||||
"BC:24:11:79:DB:DB"
|
||||
"BC:24:11:1E:5A:3F"
|
||||
],
|
||||
"machine": null,
|
||||
"memory": [
|
||||
@@ -1419,7 +1322,7 @@
|
||||
"disconnected": false,
|
||||
"enabled": true,
|
||||
"firewall": false,
|
||||
"mac_address": "BC:24:11:79:DB:DB",
|
||||
"mac_address": "BC:24:11:1E:5A:3F",
|
||||
"model": "virtio",
|
||||
"mtu": 0,
|
||||
"queues": 0,
|
||||
@@ -1473,7 +1376,7 @@
|
||||
"usb": [],
|
||||
"vga": [],
|
||||
"virtiofs": [],
|
||||
"vm_id": 113,
|
||||
"vm_id": 1011,
|
||||
"watchdog": []
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
@@ -1500,6 +1403,374 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "proxmox_virtual_environment_vm",
|
||||
"name": "worker2",
|
||||
"provider": "provider[\"registry.terraform.io/bpg/proxmox\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"acpi": true,
|
||||
"agent": [],
|
||||
"amd_sev": [],
|
||||
"audio_device": [],
|
||||
"bios": "seabios",
|
||||
"boot_order": [
|
||||
"virtio0"
|
||||
],
|
||||
"cdrom": [],
|
||||
"clone": [
|
||||
{
|
||||
"datastore_id": "",
|
||||
"full": true,
|
||||
"node_name": "hyper1",
|
||||
"retries": 1,
|
||||
"vm_id": 999
|
||||
}
|
||||
],
|
||||
"cpu": [
|
||||
{
|
||||
"affinity": "",
|
||||
"architecture": "",
|
||||
"cores": 2,
|
||||
"flags": null,
|
||||
"hotplugged": 0,
|
||||
"limit": 0,
|
||||
"numa": false,
|
||||
"sockets": 1,
|
||||
"type": "host",
|
||||
"units": 1024
|
||||
}
|
||||
],
|
||||
"description": "kubernetes worker2",
|
||||
"disk": [],
|
||||
"efi_disk": [],
|
||||
"hook_script_file_id": null,
|
||||
"hostpci": [],
|
||||
"id": "1012",
|
||||
"initialization": [
|
||||
{
|
||||
"datastore_id": "Pool1",
|
||||
"dns": [],
|
||||
"interface": "ide2",
|
||||
"ip_config": [],
|
||||
"meta_data_file_id": "",
|
||||
"network_data_file_id": "",
|
||||
"type": "",
|
||||
"user_account": [],
|
||||
"user_data_file_id": "cephfs:snippets/worker2-ignition-user-data",
|
||||
"vendor_data_file_id": ""
|
||||
}
|
||||
],
|
||||
"ipv4_addresses": [
|
||||
[
|
||||
"127.0.0.1"
|
||||
],
|
||||
[
|
||||
"10.0.2.102"
|
||||
]
|
||||
],
|
||||
"ipv6_addresses": [
|
||||
[
|
||||
"::1"
|
||||
],
|
||||
[
|
||||
"2001:470:7116:2::102",
|
||||
"fd00:0:0:2::102",
|
||||
"fe80::be24:11ff:fe1e:f45"
|
||||
]
|
||||
],
|
||||
"keyboard_layout": "en-us",
|
||||
"kvm_arguments": null,
|
||||
"mac_addresses": [
|
||||
"00:00:00:00:00:00",
|
||||
"BC:24:11:1E:0F:45"
|
||||
],
|
||||
"machine": null,
|
||||
"memory": [
|
||||
{
|
||||
"dedicated": 10240,
|
||||
"floating": 10240,
|
||||
"hugepages": "",
|
||||
"keep_hugepages": false,
|
||||
"shared": 0
|
||||
}
|
||||
],
|
||||
"migrate": false,
|
||||
"name": "worker2",
|
||||
"network_device": [
|
||||
{
|
||||
"bridge": "vmbr0",
|
||||
"disconnected": false,
|
||||
"enabled": true,
|
||||
"firewall": false,
|
||||
"mac_address": "BC:24:11:1E:0F:45",
|
||||
"model": "virtio",
|
||||
"mtu": 0,
|
||||
"queues": 0,
|
||||
"rate_limit": 0,
|
||||
"trunks": "",
|
||||
"vlan_id": 0
|
||||
}
|
||||
],
|
||||
"network_interface_names": [
|
||||
"lo",
|
||||
"eth0"
|
||||
],
|
||||
"node_name": "hyper2",
|
||||
"numa": [],
|
||||
"on_boot": true,
|
||||
"operating_system": [],
|
||||
"pool_id": null,
|
||||
"protection": false,
|
||||
"reboot": false,
|
||||
"reboot_after_update": true,
|
||||
"rng": [],
|
||||
"scsi_hardware": "virtio-scsi-pci",
|
||||
"serial_device": [],
|
||||
"smbios": [],
|
||||
"started": true,
|
||||
"startup": [
|
||||
{
|
||||
"down_delay": -1,
|
||||
"order": 1,
|
||||
"up_delay": -1
|
||||
}
|
||||
],
|
||||
"stop_on_destroy": false,
|
||||
"tablet_device": true,
|
||||
"tags": [
|
||||
"flatcar",
|
||||
"kubernetes",
|
||||
"terraform",
|
||||
"worker"
|
||||
],
|
||||
"template": false,
|
||||
"timeout_clone": 1800,
|
||||
"timeout_create": 1800,
|
||||
"timeout_migrate": 1800,
|
||||
"timeout_move_disk": 1800,
|
||||
"timeout_reboot": 1800,
|
||||
"timeout_shutdown_vm": 1800,
|
||||
"timeout_start_vm": 1800,
|
||||
"timeout_stop_vm": 300,
|
||||
"tpm_state": [],
|
||||
"usb": [],
|
||||
"vga": [],
|
||||
"virtiofs": [],
|
||||
"vm_id": 1012,
|
||||
"watchdog": []
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"identity_schema_version": 0,
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"data.ct_config.control_plane1_ignition",
|
||||
"data.ct_config.control_plane2_ignition",
|
||||
"data.ct_config.control_plane3_ignition",
|
||||
"data.ct_config.worker2_ignition",
|
||||
"null_resource.wait_for_cluster_ready",
|
||||
"null_resource.wait_for_cp1_api",
|
||||
"null_resource.wait_for_cp2_cp3_api",
|
||||
"proxmox_virtual_environment_download_file.flatcar_image",
|
||||
"proxmox_virtual_environment_file.control_plane1_ignition",
|
||||
"proxmox_virtual_environment_file.control_plane2_ignition",
|
||||
"proxmox_virtual_environment_file.control_plane3_ignition",
|
||||
"proxmox_virtual_environment_file.worker2_ignition",
|
||||
"proxmox_virtual_environment_vm.control_plane1",
|
||||
"proxmox_virtual_environment_vm.control_plane2",
|
||||
"proxmox_virtual_environment_vm.control_plane3",
|
||||
"proxmox_virtual_environment_vm.flatcar_template"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "proxmox_virtual_environment_vm",
|
||||
"name": "worker3",
|
||||
"provider": "provider[\"registry.terraform.io/bpg/proxmox\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"acpi": true,
|
||||
"agent": [],
|
||||
"amd_sev": [],
|
||||
"audio_device": [],
|
||||
"bios": "seabios",
|
||||
"boot_order": [
|
||||
"virtio0"
|
||||
],
|
||||
"cdrom": [],
|
||||
"clone": [
|
||||
{
|
||||
"datastore_id": "",
|
||||
"full": true,
|
||||
"node_name": "hyper1",
|
||||
"retries": 1,
|
||||
"vm_id": 999
|
||||
}
|
||||
],
|
||||
"cpu": [
|
||||
{
|
||||
"affinity": "",
|
||||
"architecture": "",
|
||||
"cores": 2,
|
||||
"flags": null,
|
||||
"hotplugged": 0,
|
||||
"limit": 0,
|
||||
"numa": false,
|
||||
"sockets": 1,
|
||||
"type": "host",
|
||||
"units": 1024
|
||||
}
|
||||
],
|
||||
"description": "kubernetes worker3",
|
||||
"disk": [],
|
||||
"efi_disk": [],
|
||||
"hook_script_file_id": null,
|
||||
"hostpci": [],
|
||||
"id": "1013",
|
||||
"initialization": [
|
||||
{
|
||||
"datastore_id": "Pool1",
|
||||
"dns": [],
|
||||
"interface": "ide2",
|
||||
"ip_config": [],
|
||||
"meta_data_file_id": "",
|
||||
"network_data_file_id": "",
|
||||
"type": "",
|
||||
"user_account": [],
|
||||
"user_data_file_id": "cephfs:snippets/worker3-ignition-user-data",
|
||||
"vendor_data_file_id": ""
|
||||
}
|
||||
],
|
||||
"ipv4_addresses": [
|
||||
[
|
||||
"127.0.0.1"
|
||||
],
|
||||
[
|
||||
"10.0.2.103"
|
||||
]
|
||||
],
|
||||
"ipv6_addresses": [
|
||||
[
|
||||
"::1"
|
||||
],
|
||||
[
|
||||
"2001:470:7116:2::103",
|
||||
"fd00:0:0:2::103",
|
||||
"fe80::be24:11ff:fe20:fede"
|
||||
]
|
||||
],
|
||||
"keyboard_layout": "en-us",
|
||||
"kvm_arguments": null,
|
||||
"mac_addresses": [
|
||||
"00:00:00:00:00:00",
|
||||
"BC:24:11:20:FE:DE"
|
||||
],
|
||||
"machine": null,
|
||||
"memory": [
|
||||
{
|
||||
"dedicated": 10240,
|
||||
"floating": 10240,
|
||||
"hugepages": "",
|
||||
"keep_hugepages": false,
|
||||
"shared": 0
|
||||
}
|
||||
],
|
||||
"migrate": false,
|
||||
"name": "worker3",
|
||||
"network_device": [
|
||||
{
|
||||
"bridge": "vmbr0",
|
||||
"disconnected": false,
|
||||
"enabled": true,
|
||||
"firewall": false,
|
||||
"mac_address": "BC:24:11:20:FE:DE",
|
||||
"model": "virtio",
|
||||
"mtu": 0,
|
||||
"queues": 0,
|
||||
"rate_limit": 0,
|
||||
"trunks": "",
|
||||
"vlan_id": 0
|
||||
}
|
||||
],
|
||||
"network_interface_names": [
|
||||
"lo",
|
||||
"eth0"
|
||||
],
|
||||
"node_name": "hyper3",
|
||||
"numa": [],
|
||||
"on_boot": true,
|
||||
"operating_system": [],
|
||||
"pool_id": null,
|
||||
"protection": false,
|
||||
"reboot": false,
|
||||
"reboot_after_update": true,
|
||||
"rng": [],
|
||||
"scsi_hardware": "virtio-scsi-pci",
|
||||
"serial_device": [],
|
||||
"smbios": [],
|
||||
"started": true,
|
||||
"startup": [
|
||||
{
|
||||
"down_delay": -1,
|
||||
"order": 1,
|
||||
"up_delay": -1
|
||||
}
|
||||
],
|
||||
"stop_on_destroy": false,
|
||||
"tablet_device": true,
|
||||
"tags": [
|
||||
"flatcar",
|
||||
"kubernetes",
|
||||
"terraform",
|
||||
"worker"
|
||||
],
|
||||
"template": false,
|
||||
"timeout_clone": 1800,
|
||||
"timeout_create": 1800,
|
||||
"timeout_migrate": 1800,
|
||||
"timeout_move_disk": 1800,
|
||||
"timeout_reboot": 1800,
|
||||
"timeout_shutdown_vm": 1800,
|
||||
"timeout_start_vm": 1800,
|
||||
"timeout_stop_vm": 300,
|
||||
"tpm_state": [],
|
||||
"usb": [],
|
||||
"vga": [],
|
||||
"virtiofs": [],
|
||||
"vm_id": 1013,
|
||||
"watchdog": []
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"identity_schema_version": 0,
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"data.ct_config.control_plane1_ignition",
|
||||
"data.ct_config.control_plane2_ignition",
|
||||
"data.ct_config.control_plane3_ignition",
|
||||
"data.ct_config.worker3_ignition",
|
||||
"null_resource.wait_for_cluster_ready",
|
||||
"null_resource.wait_for_cp1_api",
|
||||
"null_resource.wait_for_cp2_cp3_api",
|
||||
"proxmox_virtual_environment_download_file.flatcar_image",
|
||||
"proxmox_virtual_environment_file.control_plane1_ignition",
|
||||
"proxmox_virtual_environment_file.control_plane2_ignition",
|
||||
"proxmox_virtual_environment_file.control_plane3_ignition",
|
||||
"proxmox_virtual_environment_file.worker3_ignition",
|
||||
"proxmox_virtual_environment_vm.control_plane1",
|
||||
"proxmox_virtual_environment_vm.control_plane2",
|
||||
"proxmox_virtual_environment_vm.control_plane3",
|
||||
"proxmox_virtual_environment_vm.flatcar_template"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "proxmox_virtual_environment_vm",
|
||||
@@ -1524,7 +1795,7 @@
|
||||
"full": true,
|
||||
"node_name": "hyper1",
|
||||
"retries": 1,
|
||||
"vm_id": 105
|
||||
"vm_id": 999
|
||||
}
|
||||
],
|
||||
"cpu": [
|
||||
@@ -1532,7 +1803,7 @@
|
||||
"affinity": "",
|
||||
"architecture": "",
|
||||
"cores": 2,
|
||||
"flags": [],
|
||||
"flags": null,
|
||||
"hotplugged": 0,
|
||||
"limit": 0,
|
||||
"numa": false,
|
||||
@@ -1546,7 +1817,7 @@
|
||||
"efi_disk": [],
|
||||
"hook_script_file_id": null,
|
||||
"hostpci": [],
|
||||
"id": "112",
|
||||
"id": "1014",
|
||||
"initialization": [
|
||||
{
|
||||
"datastore_id": "Pool1",
|
||||
@@ -1567,13 +1838,7 @@
|
||||
],
|
||||
[
|
||||
"10.0.2.104"
|
||||
],
|
||||
[],
|
||||
[
|
||||
"10.0.10.66"
|
||||
],
|
||||
[],
|
||||
[]
|
||||
]
|
||||
],
|
||||
"ipv6_addresses": [
|
||||
[
|
||||
@@ -1582,28 +1847,14 @@
|
||||
[
|
||||
"2001:470:7116:2::104",
|
||||
"fd00:0:0:2::104",
|
||||
"fe80::be24:11ff:fef3:523d"
|
||||
],
|
||||
[
|
||||
"fe80::ecee:eeff:feee:eeee"
|
||||
],
|
||||
[],
|
||||
[
|
||||
"2001:470:7116:a:ed2a:1bf0:eec6:2100"
|
||||
],
|
||||
[
|
||||
"fe80::ecee:eeff:feee:eeee"
|
||||
"fe80::be24:11ff:fe6b:88c7"
|
||||
]
|
||||
],
|
||||
"keyboard_layout": "en-us",
|
||||
"kvm_arguments": null,
|
||||
"mac_addresses": [
|
||||
"00:00:00:00:00:00",
|
||||
"BC:24:11:F3:52:3D",
|
||||
"EE:EE:EE:EE:EE:EE",
|
||||
"00:00:00:00:00:00",
|
||||
"66:41:F1:FA:94:3B",
|
||||
"EE:EE:EE:EE:EE:EE"
|
||||
"BC:24:11:6B:88:C7"
|
||||
],
|
||||
"machine": null,
|
||||
"memory": [
|
||||
@@ -1623,7 +1874,7 @@
|
||||
"disconnected": false,
|
||||
"enabled": true,
|
||||
"firewall": false,
|
||||
"mac_address": "BC:24:11:F3:52:3D",
|
||||
"mac_address": "BC:24:11:6B:88:C7",
|
||||
"model": "virtio",
|
||||
"mtu": 0,
|
||||
"queues": 0,
|
||||
@@ -1634,11 +1885,7 @@
|
||||
],
|
||||
"network_interface_names": [
|
||||
"lo",
|
||||
"eth0",
|
||||
"cali2f86d5eb46e",
|
||||
"tunl0",
|
||||
"vxlan-v6.calico",
|
||||
"cali232f9cc49cb"
|
||||
"eth0"
|
||||
],
|
||||
"node_name": "pbs",
|
||||
"numa": [],
|
||||
@@ -1681,7 +1928,7 @@
|
||||
"usb": [],
|
||||
"vga": [],
|
||||
"virtiofs": [],
|
||||
"vm_id": 112,
|
||||
"vm_id": 1014,
|
||||
"watchdog": []
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user