fix: Local cluster installation
This commit is contained in:
parent
a16d3d0773
commit
724cb89683
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
k3s_version: "v1.23.16+k3s1"
|
k3s_version: "v1.28.5+k3s1"
|
||||||
systemd_dir: "/etc/systemd/system"
|
systemd_dir: "/etc/systemd/system"
|
||||||
master_ip: "{{ hostvars[groups['master'][0]]['ansible_tailscale0'].ipv4.address | default(groups['master'][0]) }}"
|
master_ip: "{{ hostvars[groups['master'][0]]['ansible_eth1'].ipv4.address | default(groups['master'][0]) }}"
|
||||||
extra_server_args: "--no-deploy traefik --advertise-address {{hostvars[inventory_hostname]['ansible_tailscale0'].ipv4.address}} --flannel-iface tailscale0 --tls-san {{ ansible_host }} --disable servicelb {{ ['--node-label']|product(hostvars[inventory_hostname]['k3s_label'])|map('join', ' ')|join(' ') }}"
|
extra_server_args: "--disable traefik --advertise-address {{hostvars[inventory_hostname]['ansible_eth1'].ipv4.address}} --tls-san {{ ansible_host }} --disable servicelb {{ ['--node-label']|product(hostvars[inventory_hostname]['k3s_label'])|map('join', ' ')|join(' ') }}"
|
||||||
extra_agent_args: "--flannel-iface tailscale0 --node-external-ip {{hostvars[inventory_hostname]['ansible_default_ipv4']['address']}} {{ ['--node-label']|product(hostvars[inventory_hostname]['k3s_label'])|map('join', ' ')|join(' ') }}"
|
extra_agent_args: "--node-external-ip {{hostvars[inventory_hostname]['ansible_default_ipv4']['address']}} {{ ['--node-label']|product(hostvars[inventory_hostname]['k3s_label'])|map('join', ' ')|join(' ') }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user