File tree Expand file tree Collapse file tree 4 files changed +40
-9
lines changed Expand file tree Collapse file tree 4 files changed +40
-9
lines changed Original file line number Diff line number Diff line change 11output "talosconfig" {
22 description = " Talos configuration file for the cluster"
3- value = data. talos_client_configuration . this . talos_config
4- sensitive = true
3+ value = data. talos_client_configuration . this . talos_config
4+ sensitive = true
55}
66
77output "kubeconfig" {
@@ -18,5 +18,5 @@ output "kubeconfig" {
1818
1919output "talos_cluster_health" {
2020 description = " Health status of the Talos cluster, can be used for other ressources to depend on"
21- value = data. talos_cluster_health . this
21+ value = data. talos_cluster_health . this
2222}
Original file line number Diff line number Diff line change 11resource "proxmox_virtual_environment_vm" "controlplane" {
22 for_each = local. controlplanes
33
4- node_name = each. value . node
5- name = each. key
6- description = " controlplane"
4+ node_name = each. value . node
5+ name = each. key
6+ description = templatefile (" ${ path . module } /templates/description.tmpl" , {
7+ cluster_name = var.cluster.name,
8+ node_name = each.key
9+ subnet = " ${ each . value . ip_address } /${ each . value . subnet } "
10+ gateway = var.network.gateway
11+ cpu = each.value.cpu
12+ memory = each.value.memory
13+ disk = each.value.disk
14+ proxmox_node = each.value.node
15+ })
716 vm_id = each. value . vm_id
817 machine = " q35"
918 scsi_hardware = " virtio-scsi-single"
Original file line number Diff line number Diff line change 11resource "proxmox_virtual_environment_vm" "worker" {
22 for_each = local. workers
33
4- node_name = each. value . node
5- name = each. key
6- description = " worker"
4+ node_name = each. value . node
5+ name = each. key
6+ description = templatefile (" ${ path . module } /templates/description.tmpl" , {
7+ cluster_name = var.cluster.name,
8+ node_name = each.key
9+ subnet = " ${ each . value . ip_address } /${ each . value . subnet } "
10+ gateway = var.network.gateway
11+ cpu = each.value.cpu
12+ memory = each.value.memory
13+ disk = each.value.disk
14+ proxmox_node = each.value.node
15+ })
716 vm_id = each. value . vm_id
817 machine = " q35"
918 scsi_hardware = " virtio-scsi-single"
Original file line number Diff line number Diff line change 1+ # Kubernetes Node Information
2+ 🛡️ ** Cluster Name** : `${cluster_name}`
3+ 🖥️ ** Node Name** : `${node_name}`
4+ 🌐 ** Subnet** : `${subnet}`
5+ 🚪 ** Gateway** : `${gateway}`
6+
7+ 💾 ** Resources** :
8+ - ** CPU** : `${cpu}` cores
9+ - ** Memory** : `${memory}` MB
10+ - ** Disk** : `${disk}` GB
11+
12+ ⚙️ ** Node Placement** :
13+ - ** Proxmox Node** : `${proxmox_node}`
You can’t perform that action at this time.
0 commit comments