操作系统信息
例如:虚拟机,Centos7.5,4C/8G
Kubernetes版本信息
Client Version: version.Info{Major:“1”, Minor:“22”, GitVersion:“v1.22.1”, GitCommit:“632ed300f2c34f6d6d15ca4cef3d3c7073412212”, GitTreeState:“clean”, BuildDate:“2021-08-19T15:45:37Z”, GoVersion:“go1.16.7”, Compiler:“gc”, Platform:“linux/amd64”}
Server Version: version.Info{Major:“1”, Minor:“22”, GitVersion:“v1.22.1”, GitCommit:“632ed300f2c34f6d6d15ca4cef3d3c7073412212”, GitTreeState:“clean”, BuildDate:“2021-08-19T15:39:34Z”, GoVersion:“go1.16.7”, Compiler:“gc”, Platform:“linux/amd64”}
容器运行时
Client: Docker Engine - Community
Version: 20.10.13
API version: 1.41
Go version: go1.16.15
Git commit: a224086
Built: Thu Mar 10 14:09:51 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.13
API version: 1.41 (minimum version 1.12)
Go version: go1.16.15
Git commit: 906f57f
Built: Thu Mar 10 14:08:16 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.5.10
GitCommit: 2a1d4dbdb2a1030dc5b01e96fb110a9d9f150ecc
runc:
Version: 1.0.3
GitCommit: v1.0.3-0-gf46b6ba
docker-init:
Version: 0.19.0
GitCommit: de40ad0
问题是什么
请问kk2.0导出制品的时候只能使用https去拉取镜像么?
清单中的镜像使用的是内部自己搭建的docker registry,使用http访问,在docker中的daemon.json文件中也配置了10.19.37.3:30080地址,手动执行docker pull时可以拉取成功,但是使用kk执行导出制品就会提示下面的内容。
INFO[0128] trying next host error="failed to do request: Head \“https://10.19.37.3:30080/v2/google_containers/cni/manifests/v3.20.0\”: http: server gave HTTP response to HTTPS client" host=“10.19.37.3:30080”
15:54:20 CST message: [localhost]
pull image 10.19.37.3:30080/google_containers/cni:v3.20.0 failed
15:54:20 CST message: [LocalHost]
pull image 10.19.37.3:30080/google_containers/cni:v3.20.0 failed: failed to resolve reference “10.19.37.3:30080/google_containers/cni:v3.20.0”: failed to do request: Head “https://10.19.37.3:30080/v2/google_containers/cni/manifests/v3.20.0”: http: server gave HTTP response to HTTPS client
15:54:20 CST failed: [LocalHost]
error: Pipeline[ArtifactExportPipeline] execute failed: Module[ArtifactImagesModule] exec failed:
failed: [LocalHost] [ArtifactPullImages] exec failed after 1 retires: pull image 10.19.37.3:30080/google_containers/cni:v3.20.0 failed: failed to resolve reference “10.19.37.3:30080/google_containers/cni:v3.20.0”: failed to do request: Head “https://10.19.37.3:30080/v2/google_containers/cni/manifests/v3.20.0”: http: server gave HTTP response to HTTPS client