Files
homelab-v/tofu/kubernetes/talos/machine-config/control-plane.yaml.tftpl
T
Vegard Hagen 3d68e49d4d fix(tofu): allow multiple nodes on the same host again
A bug reported in #299 resulted in it not being possible to schedule two Talos nodes on the same host machine with the same schematic ID and image version

This commit fixes #299

Signed-off-by: Vegard Hagen <[email protected]>
2025-06-09 21:21:41 +02:00

33 lines
633 B
Plaintext

machine:
network:
interfaces:
- deviceSelector:
hardwareAddr: ${mac_address}
addresses:
- ${ip}/${subnet_mask}
routes:
- network: 0.0.0.0/0
gateway: ${gateway}
dhcp: false
%{ if vip != null }
vip:
ip: ${vip}
%{ endif }
cluster:
allowSchedulingOnControlPlanes: true
apiServer:
${indent(4, api_server)}
network:
cni:
name: none
proxy:
disabled: true
discovery:
enabled: true
registries:
service:
disabled: false
extraManifests: ${extra_manifests}
inlineManifests: ${inline_manifests}