huangyf

Results 26 comments of huangyf

有点没太明白这个场景,可以再详细一点么 ---原始邮件--- 发件人: ***@***.***> 发送时间: 2024年1月25日(周四) 下午5:45 收件人: ***@***.***>; 抄送: ***@***.***>; 主题: [ketches/registry-proxy] [咨询]能否用代理地址拉取后Rename成原来镜像地址 (Issue #1) 场景:今天用Dockerfile构建了本地镜像(未推到Hub),拉取策略:IfNotPresent。本想直接引用本地镜像,但是pod一直报拉取失败,后来才发现镜像直接替换成了docker.ketches.cn/xxx.最后按照这个名称构建镜像后OK了 问题:代理思路能否实现成用代理地址拉取,拉取到本地后重新修改成原地址。 — Reply to this email directly, view it on GitHub, or unsubscribe....

@poneding @lakevilladom 很高兴能享受到第一个issue的喜悦,对于这个问题而言,如果需要把镜像拉下来重命名是超出了apiserver所能扩展的能力的,对于本地是否存在这个镜像apiserver也无法直接判断,这属于CRI部分。但是在这个示例中是不是没有正确配置需要代理的目标,一般而言我们只需要代理gcr等无法在国内正确访问的仓库。这是我个人的一些想法,等待作者给您一个完整的答复

I think this is very important, can it be merged?

I copied the content from here https://github.com/vuejs/vitepress/issues/3649 but I'm not using a proxy like cloudflare

> @reckless-huang Did you manage to find a solution for this? I'm having the same issue not

Can anyone fix this problem? Or is there something wrong with my configuration?

> @reckless-huang Did you manage to find a solution for this? I'm having the same issue Do you have a follow-up @lulrai

metrics接口有认证需要在配置文件中配置账号密码,prometheus上也需要配置,没有配置就是404哈,相关代码 ``` func MetricsWithBasicAuth() gin.HandlerFunc { return func(c *gin.Context) { user := utils.GetOrDefault("metrics.user", "") password := utils.GetOrDefault("metrics.password", "") reqUser, reqPassword, hasAuth := c.Request.BasicAuth() if user == "" || password ==...

我可以使用您的面板么,我也在做同样的事情 ---原始邮件--- 发件人: ***@***.***> 发送时间: 2025年5月20日(周二) 下午4:31 收件人: ***@***.***>; 抄送: ***@***.******@***.***>; 主题: Re: [MartialBE/one-hub] 请教prometheus的配置,prometheus无法监听one-hub容器 (Issue #523) harrisonhxy left a comment (MartialBE/one-hub#523) 感谢您的提示和帮助,我已经成功搭建grafana和prometheus 😊 image.png (view on web) — Reply...