OpenEuler24.03-LTS-SP3 使用 containerd 部署 K8s 报错

Follow the tutorial in Kubernetes Cluster Deployment Guide - containerd | Documentation | openEuler Community step by step. When starting kubeadm, the following error occurs:

The IP address in the configuration file has been confirmed to be in correct IPv4 format and loaded successfully, with no proxy involved. (If the IP address in the configuration file causing the error is modified, the error message will also change accordingly.)

After bypassing this error and proceeding to start, another error appears:

The kubelet is in active state, but sudo crictl ps -a returns no output.

为什么自动翻译成英文了…

我有一样的报错

上面提示你容器服务没有启动,再说可能你配置有问题,最好看下日志

image这不是报错么?系统将kubeadm init文件中设置的地址加了两个方括号,因此被识别成了格式错误的地址,后台的日志就是反复找不到controller,所以kubeadm回复让检查是不是kubelet没有启动,并不是你说的容器服务没有启动。

图片上面最后写了invalid ipv6 host

这里应该是你IPv6地址格式写错了,如果按v6格式写,你就要把v4地址转为v6地址,这样才可以识别,建议你检查下。