创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
Centos7,8C/32G
Kubernetes版本信息
将 kubectl version
命令执行结果贴在下方
Client Version: version.Info{Major:“1”, Minor:“22”, GitVersion:“v1.22.12”, GitCommit:“b058e1760c79f46a834ba59bd7a3486ecf28237d”, GitTreeState:“clean”, BuildDate:“2022-07-13T14:59:18Z”, GoVersion:“go1.16.15”, Compiler:“gc”, Platform:“linux/amd64”}
Server Version: version.Info{Major:“1”, Minor:“22”, GitVersion:“v1.22.12”, GitCommit:“b058e1760c79f46a834ba59bd7a3486ecf28237d”, GitTreeState:“clean”, BuildDate:“2022-07-13T14:53:39Z”, GoVersion:“go1.16.15”, Compiler:“gc”, Platform:“linux/amd64”}
容器运行时
将 docker version
/ crictl version
/ nerdctl version
结果贴在下方
Client:
Version: 24.0.6
API version: 1.43
Go version: go1.20.7
Git commit: ed223bc
Built: Mon Sep 4 12:30:51 2023
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 24.0.6
API version: 1.43 (minimum version 1.12)
Go version: go1.20.7
Git commit: 1a79695
Built: Mon Sep 4 12:32:17 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.7.3
GitCommit: 7880925980b188f4c97b462f709d0db8e8962aff
runc:
Version: 1.1.9
GitCommit: v1.1.9-0-gccaecfc
docker-init:
Version: 0.19.0
GitCommit: de40ad0
[root@master kk]# crictl version
bash: crictl: command not found…
[root@master kk]# nerdctl version
bash: nerdctl: command not found…
KubeSphere版本信息
例如:v2.1.1/v3.0.0。离线安装还是在线安装。在已有K8s上安装还是使用kk安装。
v3.4.1。在线安装。kk安装
https://kubesphere.io/zh/docs/v3.4/quick-start/minimal-kubesphere-on-k8s/
问题是什么
报错日志是什么,最好有截图。
downloading image: kubesphere/pause:3.5
20:20:12 CST message: [master]
pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH docker pull kubesphere/pause:3.5 –platform amd64”
Error response from daemon: Get “https://registry-1.docker.io/v2/”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers): Process exited with status 1
20:20:12 CST retry: [master]
20:20:17 CST message: [master]
downloading image: kubesphere/pause:3.5
20:20:39 CST message: [master]
pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH docker pull kubesphere/pause:3.5 –platform amd64”
Error response from daemon: Head “https://registry-1.docker.io/v2/kubesphere/pause/manifests/3.5”: Get “https://auth.docker.io/token?scope=repository%!A(MISSING)kubesphere%!F(MISSING)pause%!A(MISSING)pull&service=registry.docker.io”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers): Process exited with status 1
20:20:39 CST retry: [master]
20:20:44 CST message: [master]
downloading image: kubesphere/pause:3.5
20:21:27 CST message: [master]
pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH docker pull kubesphere/pause:3.5 –platform amd64”
Error response from daemon: Head “https://registry-1.docker.io/v2/kubesphere/pause/manifests/3.5”: dial tcp 34.226.69.105:443: i/o timeout: Process exited with status 1
20:21:27 CST failed: [master]
error: Pipeline[CreateClusterPipeline] execute failed: Module[PullModule] exec failed:
failed: [master] [PullImages] exec failed after 3 retries: pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH docker pull kubesphere/pause:3.5 –platform amd64”
Error response from daemon: Head “https://registry-1.docker.io/v2/kubesphere/pause/manifests/3.5”: dial tcp 34.226.69.105:443: i/o timeout: Process exited with status 1
执行命令:./kk create cluster –with-kubernetes v1.22.12 –with-kubesphere v3.4.1