Split out wild-setup into three phase scripts.
This commit is contained in:
22
setup/cluster-nodes/patch.templates/controlplane.yaml
Normal file
22
setup/cluster-nodes/patch.templates/controlplane.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
machine:
|
||||
install:
|
||||
disk: {{ index .cluster.nodes.active "{{NODE_IP}}" "disk" }}
|
||||
image: factory.talos.dev/metal-installer/{{ .cluster.nodes.talos.schematicId}}:{{ .cluster.nodes.talos.version}}
|
||||
network:
|
||||
interfaces:
|
||||
- interface: {{ index .cluster.nodes.active "{{NODE_IP}}" "interface" }}
|
||||
dhcp: false
|
||||
addresses:
|
||||
- "{{NODE_IP}}/24"
|
||||
routes:
|
||||
- network: 0.0.0.0/0
|
||||
gateway: {{ .cloud.router.ip }}
|
||||
vip:
|
||||
ip: {{ .cluster.nodes.control.vip }}
|
||||
cluster:
|
||||
discovery:
|
||||
enabled: true
|
||||
registries:
|
||||
service:
|
||||
disabled: true
|
||||
allowSchedulingOnControlPlanes: true
|
Reference in New Issue
Block a user