Problem
When I connect a k3s agent to the server and run "kubectl get nodes" on the server. I get the following error:
root@k3s-master:/home/marc# kubectl get nodes
Error from server (Timeout): the server was unable to return a response in the time allotted, but may still be processing the request (get nodes)
But if the server is standalone, I can easily run "kubectl get nodes".
CPU utilisation on the server stays about 30-40%. And RAM usage is at 583M of 3.74G.
Specs
- 2x Raspberry Pi 4b with 4GB RAM
- Fresh install of raspbian lite (buster)
- Enabled legacy iptables and cgroups
K3S Installation
On the server, I've done:
curl -sfL https://get.k3s.io | sh -
And on the agent:
curl -sfL https://get.k3s.io | K3S_URL=https://k3s-master:6443 K3S_TOKEN=<token> sh -
Thanks in advance, it drives me crazy!
question from:
https://stackoverflow.com/questions/65648589/k3s-on-raspberry-pi-4-kubectl-get-pods-runs-into-timeout 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…