mafeifan 直接修改不生效,会立即还原,CDR 里没找到 image: ‘kubesphere/prometheus-config-reloader:v0.55.1’ 默认从官方地址拉,现在会失败
mafeifan 执行 kubectl -n kubesphere-system patch cc ks-installer -p '{"spec":{"local_registry":"registry.cn-beijing.aliyuncs.com"}}' --type=merge 也没有效果
mafeifan ks-installer 的源码里有这个镜像的定义,是干什么用的呢 变量定义 https://github.com/kubesphere/ks-installer/blob/38055b318b8f805af65aedfa5ad4508128b5eb2c/roles/download/defaults/main.yml#L171 变量引用 https://github.com/kubesphere/ks-installer/blob/38055b318b8f805af65aedfa5ad4508128b5eb2c/roles/ks-monitor/templates/prometheus-operator-deployment.yaml.j2#L31
mafeifan 谢谢提醒,简单总结下,放到了个人博客里 https://mafeifan.com/DevOps/K8s/Kubesphere%E5%88%87%E6%8D%A2%E4%B8%BA%E5%9B%BD%E5%86%85%E9%95%9C%E5%83%8F%E6%BA%90.html