Fix overlapping address range

Signed-off-by: Manuel Buil <mbuil@suse.com>
This commit is contained in:
Manuel Buil 2023-11-20 08:25:25 +01:00
parent 6ba6c1b65f
commit d34550fb2f
2 changed files with 6 additions and 6 deletions

View File

@ -46,8 +46,8 @@ def provision(vm, role, role_num, node_num)
node-ip: #{node_ip4},#{node_ip6}
cluster-init: true
token: vagrant
cluster-cidr: 10.42.0.0/16,2001:cafe:42:0::/56
service-cidr: 10.43.0.0/16,2001:cafe:42:1::/112
cluster-cidr: 10.42.0.0/16,2001:cafe:42::/56
service-cidr: 10.43.0.0/16,2001:cafe:43::/112
bind-address: #{NETWORK4_PREFIX}.100
flannel-iface: eth1
YAML
@ -62,8 +62,8 @@ def provision(vm, role, role_num, node_num)
node-ip: #{node_ip4},#{node_ip6}
server: https://#{NETWORK4_PREFIX}.100:6443
token: vagrant
cluster-cidr: 10.42.0.0/16,2001:cafe:42:0::/56
service-cidr: 10.43.0.0/16,2001:cafe:42:1::/112
cluster-cidr: 10.42.0.0/16,2001:cafe:42::/56
service-cidr: 10.43.0.0/16,2001:cafe:43::/112
flannel-iface: eth1
YAML
k3s.env = ["K3S_KUBECONFIG_MODE=0644", install_type]

View File

@ -13,8 +13,8 @@ import (
var dualStackServer *testutil.K3sServer
var dualStackServerArgs = []string{
"--cluster-init",
"--cluster-cidr", "10.42.0.0/16,2001:cafe:42:0::/56",
"--service-cidr", "10.43.0.0/16,2001:cafe:42:1::/112",
"--cluster-cidr", "10.42.0.0/16,2001:cafe:42::/56",
"--service-cidr", "10.43.0.0/16,2001:cafe:43::/112",
"--disable-network-policy",
}
var testLock int