kubesphere / kubekey

Install Kubernetes/K3s only, both Kubernetes/K3s and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA 🔥 ⎈ 🐳
https://kubesphere.io
Apache License 2.0
2.36k stars 550 forks source link

添加节点失败 #1554

Open baozitao opened 2 years ago

baozitao commented 2 years ago

What is version of KubeKey has the issue?

version.BuildInfo{Version:"2.3.0-rc.3", GitCommit:"b2eb6500", GitTreeState:"", GoVersion:"go1.18.6"}

What is your os environment?

kylin-4.0.2 sp4

KubeKey config file

No response

A clear and concise description of what happend.

我有一个用kk创建的5节点的集群,均为树莓派4b,新添加一个节点,新增加的节点,主机名叫做ft2000,新节点的cpu是ft-2000(armv8)os是kylin-4.0.2,其实就是ubuntu16.04

新节点与原有集群在同一个局域网中

我在树莓派主节点执行遗下命令 kk add nodes -f config-sample.yaml -a kubecluster.tar.gz

最终报错 21:48:14 CST message: [ft2000] pull image failed: Failed to exec command: sudo -E /bin/bash -c "env PATH=$PATH docker pull kubesphere/pause:3.5" Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?: Process exited with status 1

Relevant log output

No response

Additional information

uname -a命令,输出为: Linux ft2000 4.4.131-20200529.kylin.desktop-generic #kylin SMP Fri May 29 15:06:54 CST 2020 aarch64 aarch64 aarch64 GNU/Linux

uname -m命令,输出为: aarch64

uname -r命令,输出为: 4.4.131-20200529.kylin.desktop-generic

lsb_release -a命令,输出为: Distributor ID: Kylin Description: Kylin 4.0.2 Release: 4.0.2 Codename: juniper

24sama commented 2 years ago
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?: Process exited with status 1

According to the logs print, the docker didn't run on your node ft2000, please check it first.

xiaozhangzhang1 commented 1 year ago
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?: Process exited with status 1

根据日志打印,ft2000docker没有在您的节点上运行,请先检查一下。

老哥,有时间看下这个issue ,#1638