离线部署kubesphere,对接华为混合云CCE
操作系统信息
欧拉OS,4C/8g
Kubernetes版本信息
Client Version: version.Info{Major:“1”, Minor:“21”, GitVersion:“v1.21.4”, GitCommit:“3cce4a82b44f032d0cd1a1790e6d2f5a55d20aae”, GitTreeState:“clean”, BuildDate:“2021-08-11T18:16:05Z”, GoVersion:“go1.16.7”, Compiler:“gc”, Platform:“linux/amd64”}
Server Version: version.Info{Major:“1”, Minor:“21+”, GitVersion:“v1.21.4-r0-CCE22.5.1”, GitCommit:“af0a9fd52395b4162cabda30840a5680bc9c0ce3”, GitTreeState:“clean”, BuildDate:“2024-01-27T21:18:28Z”, GoVersion:“go1.16.15”, Compiler:“gc”, Platform:“linux/amd64”}
容器运行时
Client:
Version: 18.09.0
EulerVersion: 18.09.0.200
API version: 1.39
Go version: go1.15.7
Git commit: 0aa36e0
Built: Wed Apr 13 09:00:34 2022
OS/Arch: linux/amd64
Experimental: false
Server:
Engine:
Version: 18.09.0
EulerVersion: 18.09.0.200
API version: 1.39 (minimum version 1.12)
Go version: go1.15.7
Git commit: 0aa36e0
Built: Wed Apr 13 09:00:34 2022
OS/Arch: linux/amd64
Experimental: false
KubeSphere版本信息
kubespere-3.3,离线安装 通过ks-installer.yaml部署
问题是什么
部署alertmanager-main时镜像拉取失败
镜像是通过dockerhub上下载下来,上传到华为的镜像仓库,通过CCE界面升级拉取镜像及密钥。
错误信息:Back-off pulling image “swr.nj-hwzwww-1.hwzwww.sdsjglzx.js.cegn.cn/ceshi/prom/alertmanager:v0.23.0”
镜像仓库的地址没有问题,但是修改成华为SWR的密钥不生效导致下载镜像失败.没有找到对应的yaml文件