RasPi 4B 中的 Kubernetes 无法检测 RAM

RasPi 4B 中的 Kubernetes 无法检测 RAM

我正在尝试在一组 Raspberry Pi 4B 节点上设置 Kubernetes 集群。我采用了我用于 v-kube-cluster 的设置(使用 vagrant 在虚拟盒中的 Kubernetes)。请参阅https://github.com/sebastian9486/v-kube-cluster(但对于我的问题来说并不重要)。

在 RasPi 节点上设置 Kubernetes 集群似乎可行,直到我尝试使用 初始化集群kubeadm init --node-name k8s-master。不知何故,我的 RasPi 的 RAM 无法识别。该机器有 8GB 的​​ RAM,但我总是收到以下错误消息。

[ERROR Mem]: the system RAM (1 MB) is less than the minimum 1700 MB", "\t[ERROR SystemVerification]: missing required cgroups: memory"

每个 RasPi 的操作系统是“Raspbian GNU/Linux 10 (buster)”,内核是“Linux k8s-master 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l GNU/Linux”(其中 k8s-master 是节点名称)。

有人知道我该如何解决 RAM 检测问题吗?Ubuntu 作为 RasPi 节点的操作系统是否效果更好?

相关内容