创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
发帖前请点击 发表主题 右边的 预览(👀) 按钮,确保帖子格式正确。
操作系统信息
rockey linux8.6,4C/8G
Kubernetes版本信息
v1.21.7,多节点。
容器运行时
containerd 1.6.6
问题是什么
kubekey安装k8s我指定为containerd,为什么本机安装了,它还是去下载
containerd信息:
# nerdctl version
Client:
Version: v0.21.0
OS/Arch: linux/amd64
Git commit: 9ddf5226eabcbb7b4b43987f3b0f8d53d86d3bca
Server:
containerd:
Version: v1.6.6
GitCommit: 10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1
kubekey配置文件:
kubernetes:
version: v1.21.7
clusterName: cluster.local
containerManager: containerd
proxyMode: ipvs
安装时检测不到containerd
23:29:02 CST [ConfirmModule] Display confirmation form
+-------------+------+------+---------+----------+-------+-------+---------+-----------+--------+--------+------------+------------+-------------+------------------+--------------+
| name | sudo | curl | openssl | ebtables | socat | ipset | ipvsadm | conntrack | chrony | docker | containerd | nfs client | ceph client | glusterfs client | time |
+-------------+------+------+---------+----------+-------+-------+---------+-----------+--------+--------+------------+------------+-------------+------------------+--------------+
| k8s-master1 | y | y | y | y | y | y | y | y | y | | | | | | CST 23:29:02 |
| k8s-master2 | y | y | y | y | y | y | y | y | y | | | | | | CST 23:29:24 |
| k8s-master3 | y | y | y | y | y | y | y | y | y | | | | | | CST 23:29:25 |
| k8s-node1 | y | y | y | y | y | y | | y | y | | | | | | CST 23:29:24 |
+-------------+------+------+---------+----------+-------+-------+---------+-----------+--------+--------+------------+------------+-------------+------------------+--------------+
This is a simple check of your environment.
Before installation, ensure that your machines meet all requirements specified at
https://github.com/kubesphere/kubekey#requirements-and-recommendations
