adamant-kite-43734
08/16/2023, 8:12 AMfaint-shampoo-17603
08/16/2023, 8:52 AMfaint-shampoo-17603
08/16/2023, 8:52 AM2023-08-16T08:47:48.248771+00:00 init-node-1 k3s[1623]: time="2023-08-16T08:47:48Z" level=info msg="The interface eth0 with ipv4 address [public facing ip] will be used by flannel"
bland-account-99790
08/16/2023, 9:44 AMfaint-shampoo-17603
08/16/2023, 9:59 AM["server","--token","********","--node-ip","100.73.247.116","--cluster-init"]
faint-shampoo-17603
08/16/2023, 10:00 AM["server","--token","********","--node-ip","100.125.182.39","--server","<https://100.73.247.116:6443>"]
bland-account-99790
08/16/2023, 10:17 AM[public facing ip]
?bland-account-99790
08/16/2023, 10:17 AM100.73.247.116
and the second one being [public facing ip]
?faint-shampoo-17603
08/16/2023, 10:30 AMfaint-shampoo-17603
08/16/2023, 10:31 AM["server","--token","********","--node-ip","10.20.1.2","--node-external-ip","100.117.51.25","--cluster-init"]
I get:
2023-08-16T10:28:02.135273+00:00 init-node-0 k3s[1640]: time="2023-08-16T10:28:02Z" level=info msg="The interface eth0 with ipv4 address 49.13.64.173 will be used by flannel"
and
<http://flannel.alpha.coreos.com/public-ip|flannel.alpha.coreos.com/public-ip>: 49.13.64.173
faint-shampoo-17603
08/16/2023, 10:33 AMfaint-shampoo-17603
08/16/2023, 10:33 AM<http://k3s.io/external-ip|k3s.io/external-ip>: 100.117.51.25
<http://k3s.io/hostname|k3s.io/hostname>: init-node-0
<http://k3s.io/internal-ip|k3s.io/internal-ip>: 10.20.1.2
faint-shampoo-17603
08/16/2023, 10:36 AM--flannel-iface
.faint-shampoo-17603
08/16/2023, 10:42 AM["server","--token","********","--node-ip","10.20.1.2","--flannel-iface","enp7s0","--node-external-ip","100.110.104.35","--cluster-init"]
gives:
<http://flannel.alpha.coreos.com/public-ip|flannel.alpha.coreos.com/public-ip>: 10.20.1.2
faint-shampoo-17603
08/16/2023, 10:43 AMbland-account-99790
08/16/2023, 12:17 PMbland-account-99790
08/16/2023, 12:18 PMbland-account-99790
08/16/2023, 12:19 PMfaint-shampoo-17603
08/16/2023, 2:31 PMfaint-shampoo-17603
08/16/2023, 2:31 PMfaint-shampoo-17603
08/16/2023, 2:32 PM--flannel-external-ip
parameter.bland-account-99790
08/16/2023, 4:06 PMbland-account-99790
08/16/2023, 4:07 PMnode-ip
... I need to discuss this internally. Please open an issue in K3s about that πbland-account-99790
08/16/2023, 4:09 PMnode-ip
? That "feature" is not in the code, although it should not be hard to develop. I need to check whether it might trigger some regressions and what should happen if user sets flannel-iface
and node-ip
? In reality flannel takes care of the "data-plane" of the cluster, i.e. communication between pods. Whereas node-ip decides how the "control-plane" traffic flows, i.e. cluster communication between nodes and kube-api. Users might want to have both separated and thus not want flannel to process node-ip
whatsoeverfaint-shampoo-17603
08/16/2023, 4:53 PM--flannel-external-ip
Use node external IP addresses as the destination for Flannel traffic, instead of internal IPs. Only applies when --node-external-ip is set on a node.faint-shampoo-17603
08/16/2023, 4:54 PMfaint-shampoo-17603
08/16/2023, 4:56 PM