feat: add p2p agent chart v0.2.0#180
Merged
pavlelee merged 1 commit intotkestack:mainfrom Dec 23, 2025
Merged
Conversation
6fc19a5 to
7c78610
Compare
lclgo
reviewed
Dec 22, 2025
incubator/p2p-agent/README.md
Outdated
| cat << EOF | sudo tee /etc/containerd/config.toml | ||
| [plugins."io.containerd.grpc.v1.cri".registry] | ||
| [plugins."io.containerd.grpc.v1.cri".registry.mirrors] | ||
| [plugins."io.containerd.grpc.v1.cri".registry.mirrors."fanjiankong-bj.tencentcloudcr.com"] |
There was a problem hiding this comment.
containerd是使用certs.d的配置方式:
[plugins."io.containerd.grpc.v1.cri".registry]
config_path = "/etc/containerd/certs.d"
Contributor
Author
There was a problem hiding this comment.
containerd是使用certs.d的配置方式:
[plugins."io.containerd.grpc.v1.cri".registry] config_path = "/etc/containerd/certs.d"
mirrors 方式应该不涉及 certs.d 啊?
There was a problem hiding this comment.
通过在/etc/containerd/certs.d/添加配置文件mirrors.tencent.com/hosts.toml的方式配置containerd的代理:
server = "https://mirrors.tencent.com"
[host."http://127.0.0.1:65001"]
capabilities = ["pull", "resolve"]
[host."http://127.0.0.1:65001".header]
X-P2PAgent-Registry = "https://mirrors.tencent.com"
这种配置方法在后续追加其他仓库的代理时可以不重启containerd。
edf0286 to
9e005fd
Compare
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>
9e005fd to
aba26fc
Compare
Collaborator
|
lgtm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add p2p-agent helm chart to incubator.
P2P Agent is a P2P container image acceleration system that separates thick and thin containers. It accelerates container image pulling through distributed technology and improves cluster deployment efficiency.
Features
P2P Image Distribution: Image distribution based on the BitTorrent protocol.
Automatic Failure Recovery: Supports automatic node failure recovery and load balancing.
Multiple Deployment Modes: Supports Seeder, Leecher, and Mixed deployment modes.
Monitoring and Alerts: Built-in Prometheus monitoring metrics.
Image Warm-up: Supports proactive image warm-up (internal Tencent feature, not currently supported by TCR).
Thin/Thick Node Separation: Supports thin/thick node separation deployment; thin nodes only deploy the Agent component, reducing resource consumption.
Chart Info
Chart version: 0.2.0
App version: v0.2.0
Images: ccr.ccs.tencentyun.com/kofj/p2p-agent:0.2.0, ccr.ccs.tencentyun.com/kofj/tracker:0.2.0,ccr.ccs.tencentyun.com/kofj/seed-server:0.2.0
Kubernetes version: >=1.18.0