簡體   English   中英

Raspberry Pi 4 上的 K3S - kubectl get pods 運行超時

[英]K3S on Raspberry Pi 4 - kubectl get pods runs into timeout

問題

當我將 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。

眼鏡

  • 2 個帶 4GB RAM 的 Raspberry Pi 4b
  • 全新安裝 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 -

在此先感謝,它讓我發瘋!

由於堆棧溢出相關的問題功能,我偶然發現了這個問題: PI4 k3s install server 當前無法處理請求

關於 cgroup memory 故障與 buster kernel 5.4.x 似乎存在問題

編輯

添加 cgroup 沒有幫助,所以我切換到 Ubuntu 20.05 並且它現在可以工作了。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM