Simplify K3s service startup for HA

Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
Derek Nola
2023-11-08 15:16:28 -08:00
parent 565c9fa049
commit 20afd4f19e
8 changed files with 125 additions and 66 deletions

4
Vagrantfile vendored
View File

@@ -28,10 +28,10 @@ def provision(vm, role, node_num)
ansible.extra_vars = {
k3s_version: "v1.26.5+k3s1",
api_endpoint: "#{NETWORK_PREFIX}.100",
token: "myyagrant",
token: "myvagrant",
# Required to use the private network configured above
extra_server_args: "--node-external-ip #{node_ip} --flannel-iface eth1",
extra_agent_args: "",
extra_agent_args: "--node-external-ip #{node_ip} --flannel-iface eth1",
}
end
end