Raspberry Piを使ってクラスタ構築を行っています。kubeadm init
で初期化する所でエラーが出て困っています。
解決方法を教えて下さい。
環境
本体:Raspberry Pi4 8Gモデル
OS:Linux k8s-master 5.10.17-v7l+ #1414 SMP Fri Apr 30 13:20:47 BST 2021 armv7l GNU/Linux
Docker:20.10.6, build 370c289
kubeadm:buildDate: "2021-05-12T14:17:27Z"
エラー内容
Shell
1pi@k8s-master:~ $ sudo kubeadm init --pod-network-cidr=10.244.0.0/16 2[init] Using Kubernetes version: v1.21.1 3[preflight] Running pre-flight checks 4 [WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/ 5[preflight] The system verification failed. Printing the output from the verification: 6KERNEL_VERSION: 5.10.17-v7l+ 7CONFIG_NAMESPACES: enabled 8CONFIG_NET_NS: enabled 9CONFIG_PID_NS: enabled 10CONFIG_IPC_NS: enabled 11CONFIG_UTS_NS: enabled 12CONFIG_CGROUPS: enabled 13CONFIG_CGROUP_CPUACCT: enabled 14CONFIG_CGROUP_DEVICE: enabled 15CONFIG_CGROUP_FREEZER: enabled 16CONFIG_CGROUP_PIDS: enabled 17CONFIG_CGROUP_SCHED: enabled 18CONFIG_CPUSETS: enabled 19CONFIG_MEMCG: enabled 20CONFIG_INET: enabled 21CONFIG_EXT4_FS: enabled 22CONFIG_PROC_FS: enabled 23CONFIG_NETFILTER_XT_TARGET_REDIRECT: enabled (as module) 24CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled (as module) 25CONFIG_FAIR_GROUP_SCHED: enabled 26CONFIG_OVERLAY_FS: enabled (as module) 27CONFIG_AUFS_FS: not set - Required for aufs. 28CONFIG_BLK_DEV_DM: enabled (as module) 29CONFIG_CFS_BANDWIDTH: enabled 30CONFIG_CGROUP_HUGETLB: not set - Required for hugetlb cgroup. 31DOCKER_VERSION: 20.10.6 32DOCKER_GRAPH_DRIVER: overlay2 33OS: Linux 34CGROUPS_CPU: enabled 35CGROUPS_CPUACCT: enabled 36CGROUPS_CPUSET: enabled 37CGROUPS_DEVICES: enabled 38CGROUPS_FREEZER: enabled 39CGROUPS_MEMORY: missing 40CGROUPS_PIDS: enabled 41CGROUPS_HUGETLB: missing 42 [WARNING SystemVerification]: missing optional cgroups: hugetlb 43error execution phase preflight: [preflight] Some fatal errors occurred: 44 [ERROR SystemVerification]: missing required cgroups: memory 45[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...` 46To see the stack trace of this error execute with --v=5 or higher 47
追記1
Shell
1#subsys_name hierarchy num_cgroups enabled 2cpuset 2 1 1 3cpu 3 30 1 4cpuacct 3 30 1 5blkio 8 30 1 6memory 0 36 0 7devices 4 30 1 8freezer 7 1 1 9net_cls 5 1 1 10perf_event 6 1 1 11net_prio 5 1 1 12pids 9 34 1
回答1件
あなたの回答
tips
プレビュー