adamant-kite-43734
04/28/2023, 2:14 PMbland-account-99790
04/28/2023, 3:13 PMalert-motherboard-87423
04/28/2023, 3:19 PMcurl -sfL <https://get.k3s.io> | sh -s - \
--write-kubeconfig-mode "0644" \
--token "token" \
--node-external-ip "ip" \
--tls-san "ip" \
--node-taint "CriticalAddonsOnly=true:NoExecute" \
--disable=traefik
--flannel-backend=host-gw
--flannel-external-ip
Thanks,
Ashisbland-account-99790
04/28/2023, 3:25 PMbland-account-99790
04/28/2023, 3:26 PMalert-motherboard-87423
04/28/2023, 3:28 PMbland-account-99790
04/28/2023, 3:50 PMip rbland-account-99790
04/28/2023, 3:50 PMalert-motherboard-87423
04/28/2023, 4:14 PMalert-motherboard-87423
04/28/2023, 4:18 PMip ralert-motherboard-87423
04/28/2023, 4:18 PMbland-account-99790
04/28/2023, 4:41 PMsudo brctl show?bland-account-99790
04/28/2023, 4:42 PMalert-motherboard-87423
04/29/2023, 6:27 AMalert-motherboard-87423
04/29/2023, 6:27 AMbland-account-99790
05/01/2023, 1:44 PMbland-account-99790
05/01/2023, 1:45 PMip r , could you try deploying without --flannel-backend=host-gw? Just to verify that it works with vxlan. There might be a bug with flannel and host-gwalert-motherboard-87423
05/01/2023, 2:40 PMalert-motherboard-87423
05/01/2023, 4:01 PM--flannel-backend=host-gw but no luck. I have attached the output of ip r.bland-account-99790
05/03/2023, 11:16 AMalert-motherboard-87423
05/03/2023, 12:27 PMbland-account-99790
05/04/2023, 11:23 AMbland-account-99790
05/04/2023, 11:23 AMbland-account-99790
05/04/2023, 11:23 AMbland-account-99790
05/04/2023, 11:25 AMbland-account-99790
05/04/2023, 11:25 AMdefault via 10.1.1.1 dev eth0 proto dhcp src 10.1.1.9 metric 100
10.1.1.0/24 dev eth0 proto kernel scope link src 10.1.1.9
10.42.0.0/24 via 10.42.0.0 dev flannel.1 onlink
10.42.1.0/24 dev cni0 proto kernel scope link src 10.42.1.1bland-account-99790
05/04/2023, 11:25 AMbland-account-99790
05/04/2023, 11:25 AMcat /var/run/flannel/subnet.env
FLANNEL_NETWORK=10.42.0.0/16
FLANNEL_SUBNET=10.42.1.1/24
FLANNEL_MTU=1450
FLANNEL_IPMASQ=truebland-account-99790
05/04/2023, 11:26 AMcat /var/run/flannel/subnet.env
FLANNEL_NETWORK=10.42.0.0/16
FLANNEL_SUBNET=10.42.0.1/24
FLANNEL_MTU=1450
FLANNEL_IPMASQ=truebland-account-99790
05/04/2023, 11:29 AM10.42.1.0/24 it uses the cni0 bridge, as this traffic will be local. For traffic going to the server node (10.42.1.0/24), it uses flannel.1 interface, which is the vxlan interfacebland-account-99790
05/04/2023, 11:31 AMbland-account-99790
05/04/2023, 11:31 AMbland-account-99790
05/04/2023, 11:32 AMbland-account-99790
05/04/2023, 11:32 AMbland-account-99790
05/04/2023, 11:34 AMalert-motherboard-87423
05/05/2023, 7:50 AMbland-account-99790
05/05/2023, 7:54 AMkubectl get nodes -o wide please?alert-motherboard-87423
05/05/2023, 7:55 AMbland-account-99790
05/05/2023, 7:55 AM10.128.0.7?alert-motherboard-87423
05/05/2023, 7:56 AMbland-account-99790
05/05/2023, 7:56 AMcat /var/run/flannel/subnet.env in each node?bland-account-99790
05/05/2023, 8:01 AMFLANNEL_NETWORK is differentbland-account-99790
05/05/2023, 8:02 AMalert-motherboard-87423
05/05/2023, 8:04 AMcurl -sfL <https://get.k3s.io> | K3S_TOKEN="token" K3S_URL="<https://server_address:6443>" sh -s - \
--node-label --node-external-ip=ip "<http://svccontroller.k3s.cattle.io/enablelb=true|svccontroller.k3s.cattle.io/enablelb=true>" --with-node-idalert-motherboard-87423
05/05/2023, 8:05 AMbland-account-99790
05/05/2023, 8:05 AMserver_address is the node-external-ip of the server, right?bland-account-99790
05/05/2023, 8:06 AMkubeclt get nodes -o yaml | grep podCIDRs -n5 please?alert-motherboard-87423
05/05/2023, 8:07 AMbland-account-99790
05/05/2023, 8:09 AMserver_address is master ip yes, but master's external ip (public ip), right?bland-account-99790
05/05/2023, 8:13 AM10.42.0.0/16 and it gave 10.42.0.0/24 to master and 10.42.1.0/24 to the agent. However, your flannel config in the agent is using 10.244.1.0/24. I wonder if there was an old k3s cluster there and things were not cleaned up properly. Could you show me the output of ip a show dev flannel.1 in the agent please?alert-motherboard-87423
05/05/2023, 8:15 AMbland-account-99790
05/05/2023, 8:16 AMip a?bland-account-99790
05/05/2023, 8:17 AM--flannel-backend=host-gw?bland-account-99790
05/05/2023, 8:18 AMalert-motherboard-87423
05/05/2023, 8:18 AMbland-account-99790
05/05/2023, 8:20 AM10.244.0.0/16 as podCIDR?alert-motherboard-87423
05/05/2023, 8:22 AMbland-account-99790
05/05/2023, 8:22 AMbland-account-99790
05/05/2023, 8:22 AMalert-motherboard-87423
05/05/2023, 8:23 AMbland-account-99790
05/05/2023, 8:23 AMbland-account-99790
05/05/2023, 8:23 AMwireguard-nativebland-account-99790
05/05/2023, 8:24 AMk3s-agent-uninstall.sh in the agent and k3s-uninstall.sh in the serverbland-account-99790
05/05/2023, 8:25 AM/var/run/flannel/subnet.env does not exist in both server and agent. Also verify that the cni0 interface disappearedalert-motherboard-87423
05/05/2023, 8:35 AMalert-motherboard-87423
05/05/2023, 9:47 AM/var/run/flannel/subnet.env This file exist on both server and agent. cni0 interface didn’t disappeared.bland-account-99790
05/05/2023, 2:55 PMbland-account-99790
05/05/2023, 2:55 PMalert-motherboard-87423
05/08/2023, 6:44 AMbland-account-99790
05/11/2023, 2:17 PMbland-account-99790
05/11/2023, 2:24 PMalert-motherboard-87423
05/14/2023, 7:06 PMbland-account-99790
05/15/2023, 4:32 PM10.42.1.0/24 and 10.42.0.0/24, and your cni0 interface IP is not in that range?