adamant-kite-43734
01/04/2024, 9:11 PMcreamy-pencil-82913
01/04/2024, 9:21 PMbetter-rose-3015
01/04/2024, 9:21 PMbetter-rose-3015
01/04/2024, 9:21 PMroot@control0:~# kubectl get nodes
NAME STATUS ROLES AGE VERSION
<http://control0.kube.nadybot.org|control0.kube.nadybot.org> Ready control-plane,etcd,master 87m v1.28.5+k3s1
<http://control1.kube.nadybot.org|control1.kube.nadybot.org> Ready control-plane,etcd,master 84m v1.28.5+k3s1
<http://control2.kube.nadybot.org|control2.kube.nadybot.org> Ready control-plane,etcd,master 82m v1.28.5+k3s1
<http://worker0.kube.nadybot.org|worker0.kube.nadybot.org> Ready <none> 79m v1.28.5+k3s1
<http://worker1.kube.nadybot.org|worker1.kube.nadybot.org> Ready <none> 79m v1.28.5+k3s1
<http://worker2.kube.nadybot.org|worker2.kube.nadybot.org> Ready <none> 79m v1.28.5+k3s1
<http://worker3.kube.nadybot.org|worker3.kube.nadybot.org> Ready <none> 79m v1.28.5+k3s1
<http://worker4.kube.nadybot.org|worker4.kube.nadybot.org> Ready <none> 79m v1.28.5+k3s1
creamy-pencil-82913
01/04/2024, 9:22 PMcreamy-pencil-82913
01/04/2024, 9:22 PMkubectl get node -o wide
you’re going to have problems.better-rose-3015
01/04/2024, 9:24 PMcreamy-pencil-82913
01/04/2024, 9:34 PMbetter-rose-3015
01/04/2024, 9:42 PMcreamy-pencil-82913
01/04/2024, 9:44 PMbetter-rose-3015
01/04/2024, 9:45 PMcreamy-pencil-82913
01/04/2024, 9:46 PMbetter-rose-3015
01/04/2024, 9:46 PMcreamy-pencil-82913
01/04/2024, 9:47 PMcreamy-pencil-82913
01/04/2024, 9:47 PMbetter-rose-3015
01/04/2024, 9:50 PMcreamy-pencil-82913
01/04/2024, 9:55 PMbetter-rose-3015
01/04/2024, 9:57 PMcreamy-pencil-82913
01/04/2024, 10:03 PMbetter-rose-3015
01/04/2024, 10:06 PMcreamy-pencil-82913
01/04/2024, 10:07 PMcreamy-pencil-82913
01/04/2024, 10:08 PMbetter-rose-3015
01/04/2024, 10:09 PMcreamy-pencil-82913
01/04/2024, 10:11 PMbetter-rose-3015
01/04/2024, 10:12 PMcreamy-pencil-82913
01/04/2024, 10:13 PMbetter-rose-3015
01/04/2024, 10:13 PMcreamy-pencil-82913
01/04/2024, 10:13 PMbetter-rose-3015
01/04/2024, 10:14 PMbetter-rose-3015
01/04/2024, 10:23 PMbetter-rose-3015
01/08/2024, 2:08 PMk3s[140407]: E0108 12:02:02.257141 140407 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"error dialing backend: proxy error from 10.23.0.8:6443 while dialing 10.23.0.8:10250, code 502: 502 Bad Gateway"}: error dialing backend: proxy error from 10.23.0.8:6443 while dialing 10.23.0.8:10250, code 502: 502 Bad Gateway
I get this even when I'm on 10.23.0.8
, but I can definitely connect to the kubelet from there:
curl -i -k '<https://10.23.0.8:10250/containerLogs/kube-system/traefik-f4564c4f4-8mjdm/traefik>'
HTTP/2 401
content-type: text/plain; charset=utf-8
content-length: 12
date: Mon, 08 Jan 2024 14:07:48 GMT
Unauthorized
Network confguration in k3s.service
is done like this:
…
'--node-ip=10.23.0.8' \
'--flannel-iface=netmaker' \
'--bind-address=10.23.0.8' \
'--kubelet-arg=address=10.23.0.8' \
…
What might be causing this? These arguments are the same on the agents.better-rose-3015
01/12/2024, 4:32 PM--egress-selector-mode disabled
fixes this problem for me. I'm not 100% sure why, but maybe it makes sense?