mirror of https://gerrit.hackerspace.pl/hscloud
cluster: autodetect IP address
This is so that Calico starts with the proper subnet. Feeding it just an IP from the node status will mean it parses it as /32 and uses IPIP tunnels for all connectivity.changes/03/3/1
parent
2afe3e46fd
commit
e3af1eb852
|
@ -260,7 +260,8 @@ local bindServiceAccountClusterRole(sa, cr) = kube.ClusterRoleBinding(cr.metadat
|
|||
CALICO_K8S_NODE_REF: kube.FieldRef("spec.nodeName"),
|
||||
CALICO_NETWORK_BACKEND: kube.ConfigMapRef(env.cm, "calico_backend"),
|
||||
CLUSTER_TYPE: "k8s,bgp",
|
||||
IP: kube.FieldRef("status.hostIP"),
|
||||
IP: "autodetect",
|
||||
IP_AUTODETECTION_METHOD: "interface=eno.*",
|
||||
CALICO_IPV4POOL_IPIP: "Always",
|
||||
FELIX_IPINIPMTU: kube.ConfigMapRef(env.cm, "veth_mtu"),
|
||||
CALICO_IPV4POOL_CIDR: "10.10.24.0/21",
|
||||
|
|
Loading…
Reference in New Issue