私有云环境部署Radon MySQL时:
通过yaml文件创建集群,yaml文件中没有 percona/percona-server:5.7.34 镜像的相关描述,但kubectl apply 之后报拉取镜像失败,导入镜像后kubectl edit pod才创建成功。
请问为什么yaml文件中没有percona/percona-server:5.7.34的相关描述?
私有云环境部署Radon MySQL时:
通过yaml文件创建集群,yaml文件中没有 percona/percona-server:5.7.34 镜像的相关描述,但kubectl apply 之后报拉取镜像失败,导入镜像后kubectl edit pod才创建成功。
请问为什么yaml文件中没有percona/percona-server:5.7.34的相关描述?
现有的版本,只支持percona的镜像,即yaml中MysqlVersion 填了8.0自动对应percona/percona-server:8.0.25
填5.7 自动对应percona/percona-server:5.7.34
新版本会把镜像开放出来,支持在yaml文件中修改
此外,现有版本可以在operator的helm value里面定义imageprefix为私有仓库,实现私有话部署
criszhong 多谢解答!
请问imageprefix字段要如何定义?假如我的私有镜像仓库地址是192.168.252.111:6068
someonemaybe imageprefix 及定义你的私有仓库的镜像前缀,比如percona/percona-server:8.0.25
上传到私有仓库的地址是dockerregistry.local/percona/percona-server:8.0.25
则定义为dockerregistry.local
criszhong dockerregistry.local/
明白了,多谢