Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prometheus-k8s 这个 StatefulSet 中的 init-config-reloader 镜像地址如何修改 #2285

Open
mafeifan opened this issue Jul 8, 2024 · 4 comments

Comments

@mafeifan
Copy link

mafeifan commented Jul 8, 2024

直接修改不生效,会立即还原,CDR 里没找到

image: ‘kubesphere/prometheus-config-reloader:v0.55.1’
默认从官方地址拉,因为dockerhub被屏蔽了,导致拉取失败

@mafeifan
Copy link
Author

mafeifan commented Jul 9, 2024

执行 kubectl -n kubesphere-system patch cc ks-installer -p '{"spec":{"local_registry":"registry.cn-beijing.aliyuncs.com"}}' --type=merge
没有变化 kubesphere/prometheus-config-reloader:v0.55.1 其他镜像确实变成阿里云了

@Mrzhang560
Copy link

执行 kubectl -n kubesphere-system patch cc ks-installer -p '{"spec":{"local_registry":"registry.cn-beijing.aliyuncs.com"}}' --type=merge 没有变化 kubesphere/prometheus-config-reloader:v0.55.1 其他镜像确实变成阿里云了

执行 kubectl -n kubesphere-system patch cc ks-installer -p '{"spec":{"local_registry":"registry.cn-beijing.aliyuncs.com"}}' --type=merge没有更改kubeskind/prometheus-config-reloader:v0.55.1 其他镜像确实变成阿里云了
您好,后面您是怎么处理的啊,我也碰到同样的问题

@frezes
Copy link
Member

frezes commented Aug 27, 2024

执行 kubectl -n kubesphere-system patch cc ks-installer -p '{"spec":{"local_registry":"registry.cn-beijing.aliyuncs.com"}}' --type=merge 没有变化 kubesphere/prometheus-config-reloader:v0.55.1 其他镜像确实变成阿里云了
执行 kubectl -n kubesphere-system patch cc ks-installer -p '{"spec":{"local_registry":"registry.cn-beijing.aliyuncs.com"}}' --type=merge没有更改kubeskind/prometheus-config-reloader:v0.55.1 其他镜像确实变成阿里云了
您好,后面您是怎么处理的啊,我也碰到同样的问题

修改工作负载 prometheus-operator 的args 字段,里边有该镜像的配置,修改为需要地址即可
kubectl edit deployment -n kubesphere-monitoring-system prometheus-operator

@Mrzhang560
Copy link

Mrzhang560 commented Aug 27, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants