-
Notifications
You must be signed in to change notification settings - Fork 97
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
Support config and limit #5
Comments
这个是配置文件吗,我应该如何使用呢 |
计划支持的限流的能力, 在纠结是否有这么细粒度的必要 |
代理服务器拉取镜像过多会触发这个: |
是的 你需要给 crproxy 配置一个 docker 账号 |
参考 -u 参数 user:[email protected] |
如何配置呢
发自我的iPhone
…------------------ Original ------------------
From: Shiming Zhang ***@***.***>
Date: Tue,Jun 11,2024 6:37 PM
To: wzshiming/crproxy ***@***.***>
Cc: 凡之 ***@***.***>, Comment ***@***.***>
Subject: Re: [wzshiming/crproxy] Support config and limit (Issue #5)
是的 你需要给 crproxy 配置一个 docker 账号
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
感谢,了解了
发自我的iPhone
…------------------ Original ------------------
From: Shiming Zhang ***@***.***>
Date: Tue,Jun 11,2024 6:38 PM
To: wzshiming/crproxy ***@***.***>
Cc: 凡之 ***@***.***>, Comment ***@***.***>
Subject: Re: [wzshiming/crproxy] Support config and limit (Issue #5)
参考 -u 参数 ***@***.***
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
存储支持本地磁盘吗
发自我的iPhone
…------------------ Original ------------------
From: myfanzhi ***@***.***>
Date: Tue,Jun 11,2024 6:38 PM
To: reply+ANL3BHD7TQZNEYYHIHTSTTGEOQFBFEVBNHHIXG64AE ***@***.***>, wzshiming/crproxy ***@***.***>
Cc: 啊!我不会一个人 ***@***.***>, Comment ***@***.***>
Subject: Re: [wzshiming/crproxy] Support config and limit (Issue #5)
感谢,了解了
发自我的iPhone
------------------ Original ------------------
From: Shiming Zhang ***@***.***>
Date: Tue,Jun 11,2024 6:38 PM
To: wzshiming/crproxy ***@***.***>
Cc: 凡之 ***@***.***>, Comment ***@***.***>
Subject: Re: [wzshiming/crproxy] Support config and limit (Issue #5)
参考 -u 参数 ***@***.***
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
如果你要本地存储, 建议用 https://github.com/distribution/distribution |
这个项目最初就是配合 https://github.com/distribution/distribution 一起, 作为一个多源聚代理合用的 |
好的,我试试
发自我的iPhone
…------------------ Original ------------------
From: Shiming Zhang ***@***.***>
Date: Tue,Jun 11,2024 6:42 PM
To: wzshiming/crproxy ***@***.***>
Cc: 凡之 ***@***.***>, Comment ***@***.***>
Subject: Re: [wzshiming/crproxy] Support config and limit (Issue #5)
这个项目最初就是配合 https://github.com/distribution/distribution 一起, 作为一个多源聚代理合用的
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
这两个限制参数有详细说明吗,假如我服务器带宽30M,这两个参数我应该配置多少。 另外
如果crproxy在registry后面貌似没法使用 ip的限制了,因为它获取不到客户端真实地址:
|
1 similar comment
这两个限制参数有详细说明吗,假如我服务器带宽30M,这两个参数我应该配置多少。 另外
如果crproxy在registry后面貌似没法使用 ip的限制了,因为它获取不到客户端真实地址:
|
是的, 限流不适合在 registry 后面使用. |
我现在部署的形式在服务器上已经把 registry 这一层拿掉了 |
这种可以,但不支持本地存储。 |
你是想在 服务器 上本地文件 存 blobs? |
服务器磁盘够?? |
如果registry 中已经有的镜像,就不会找crproxy了吧 |
腾讯oss可以挂载磁盘上 |
那服务器带宽呢? |
这种场景, 我建议你在前面的 nginx 配置限流 |
crproxy 不做任何限制 |
oss和服务器之间走内网,上下都免费。只收存储费用。 |
这个我知道, 我是只服务的外网下行带宽, 这部分一般超过 5M 就很贵 |
5M基本上, 拉一两个大镜像就能导致你服务器带宽占满 |
请问: |
写个脚本分析 nginx 日志统计使用量然后删除, 或者等 7 天会自己 GC |
gc 会把所有镜像删除吗
发自我的iPhone
…------------------ Original ------------------
From: Shiming Zhang ***@***.***>
Date: Mon,Jun 17,2024 6:18 PM
To: wzshiming/crproxy ***@***.***>
Cc: 凡之 ***@***.***>, Comment ***@***.***>
Subject: Re: [wzshiming/crproxy] Support config and limit (Issue #5)
写个脚本分析 nginx 日志统计使用量然后删除, 或者等 7 天会自己 GC
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
是的 七天 不用就删除 |
这种机制, 适合在内网集群做缓存, 不太适合提供公开服务 |
The text was updated successfully, but these errors were encountered: