CKA pro托管的k8s集群 搭建过程没有报错,查看pod信息提示:Warning FailedScheduling 10m default-scheduler 0/2 nodes are available: 1 node(s) didn’t have free ports for the requested pod ports, 1 node(s) didn’t match Pod’s node affinity.
操作系统信息
例如:阿里云CKA(pro托管版),1.20.11-aliyun.1
Kubernetes版本信息
Client Versio
]
: version.Info{Major:“1”, Minor:“21”, GitVersion:“v1.21.2”, GitCommit:“092fbfbf53427de67cac1e9fa54aaa09a28371d7”, GitTreeState:“clean”, BuildDate:“2021-06-16T12:59:11Z”, GoVersion:“go1.16.5”, Compiler:“gc”, Platform:“linux/amd64”}
Server Version: version.Info{Major:“1”, Minor:“20+”, GitVersion:“v1.20.11-aliyun.1”, GitCommit:“88d5e8b”, GitTreeState:"", BuildDate:“2021-10-25T13:52:50Z”, GoVersion:“go1.15.15”, Compiler:“gc”, Platform:“linux/amd64”}
容器运行时
将 docker version
/ crictl version
/ nerdctl version
结果贴在下方
shell@Alicloud:~$ docker version
Client: Docker Engine - Community
Version: 19.03.5
API version: 1.40
Go version: go1.12.12
Git commit: 633a0ea838
Built: Wed Nov 13 07:22:05 2019
OS/Arch: linux/amd64
Experimental: false
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
shell@Alicloud:~$ crictl version
bash: crictl: command not found
shell@Alicloud:~$ nerdctl version
bash: nerdctl: command not found
—
bash: crictl: command not foundere版本信息
例如:v3.2。在线安装。在有K8s上安装
问题是什么
报错日志是什么,