【发布时间】:2021-01-09 23:17:23
【问题描述】:
问题
当我将 k3s 代理连接到服务器并在服务器上运行“kubectl get nodes”时。我收到以下错误:
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)
但如果服务器是独立的,我可以轻松运行“kubectl get nodes”。
服务器上的 CPU 利用率保持在 30-40% 左右。 RAM 使用量为 3.74G 的 583M。
规格
- 2x Raspberry Pi 4b 和 4GB RAM
- 全新安装 raspbian lite (buster)
- 启用旧版 iptables 和 cgroups
K3S 安装
在服务器上,我已经完成了:
curl -sfL https://get.k3s.io | sh -
在代理上:
curl -sfL https://get.k3s.io | K3S_URL=https://k3s-master:6443 K3S_TOKEN=<token> sh -
提前谢谢,这让我发疯了!
【问题讨论】:
标签: kubernetes raspberry-pi kubernetes-helm k3s