
containerd代理拉取镜像
containerd
containerd 是一个容器运行时和镜像生成工具,用于管理容器化应用程序的生命周期管理。 * 容器化应用程序管理、容器运行时和编排工具 * 有什么特点:容器管理工具、支持多种容器化应用程序管理和部署工具、易于使用和集成
项目地址:https://gitcode.com/gh_mirrors/co/containerd
·
问题
因为某些原因,很多国内镜像站失效,o(╥﹏╥)o
E0628 11:09:08.324107 64622 kuberuntime_image.go:53] “Failed to pull image” err=“rpc error: code = Unknown desc = failed to pull and unpack image “docker.io/kubesphere/ks-apiserver:v3.4.1”: failed to copy: httpReadSeeker: failed open: unexpected status code https://xxxxxx.mirror.aliyuncs.com/v2/kubesphere/ks-apiserver/blobs/sha256:c486abe6f1cc8f0907c71c1708dd40b5e972cc4628725b92ab6229ae53e86382?ns=docker.io: 500 Internal Server Error - Server message: unknown: unknown error” image=“kubesphere/ks-apiserver:v3.4.1”
解决方法
使用环境变量设置代理
export HTTP_PROXY=http://x.x.x.x:7890
export HTTPS_PROXY=http://x.x.x.x:7890
export NO_PROXY=localhost,127.0.0.1,*.local,.cluster,.svc
端口为什么是7890,懂得都懂[doge]

手动拉取镜像
ctr -n=k8s.io images pull docker.io/kubesphere/ks-apiserver:v3.4.1

运维真是越来越难干了,每个字节都是血汗钱啊
containerd 是一个容器运行时和镜像生成工具,用于管理容器化应用程序的生命周期管理。 * 容器化应用程序管理、容器运行时和编排工具 * 有什么特点:容器管理工具、支持多种容器化应用程序管理和部署工具、易于使用和集成
最近提交(Master分支:2 个月前 )
a4579956
Fix runtimeoptions location in v2 migration script
7 天前
66f72902
Revert "Disable vagrant strict dependency checking"
8 天前
更多推荐

所有评论(0)