fix: Ensure correct nodeIPs are set on workernodes
This commit is contained in:
parent
628443c06c
commit
f2acafd737
2 changed files with 3 additions and 1 deletions
|
|
@ -76,7 +76,6 @@ resource "talos_machine_configuration_apply" "config_apply_worker" {
|
||||||
templatefile("${path.module}/templates/machineconfig-worker.yaml.tmpl", {
|
templatefile("${path.module}/templates/machineconfig-worker.yaml.tmpl", {
|
||||||
hostname = each.value.name
|
hostname = each.value.name
|
||||||
cluster_name = var.node_config.cluster_name
|
cluster_name = var.node_config.cluster_name
|
||||||
vip_address = var.node_config.cluster_endpoint
|
|
||||||
node_name = format("%s.wheatley.in", var.node_config.proxmox_node)
|
node_name = format("%s.wheatley.in", var.node_config.proxmox_node)
|
||||||
storage_address = each.value.storage_address
|
storage_address = each.value.storage_address
|
||||||
machine_type = each.value.type
|
machine_type = each.value.type
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,9 @@ machine:
|
||||||
extraConfig:
|
extraConfig:
|
||||||
imageGCHighThresholdPercent: 75
|
imageGCHighThresholdPercent: 75
|
||||||
imageGCLowThresholdPercent: 70
|
imageGCLowThresholdPercent: 70
|
||||||
|
nodeIP:
|
||||||
|
validSubnets:
|
||||||
|
- 10.13.37.0/24
|
||||||
kernel:
|
kernel:
|
||||||
modules:
|
modules:
|
||||||
- name: drbd
|
- name: drbd
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue