From 5cd3ecd5e568aa15aa00384c72bfd0ff07450709 Mon Sep 17 00:00:00 2001 From: hermes-bot Date: Sat, 30 May 2026 02:03:05 +0000 Subject: [PATCH] Add K3s containerd proxy config --- AI/tokyo-proxy/01-proxy.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/AI/tokyo-proxy/01-proxy.md b/AI/tokyo-proxy/01-proxy.md index 59932c0..75fba00 100644 --- a/AI/tokyo-proxy/01-proxy.md +++ b/AI/tokyo-proxy/01-proxy.md @@ -60,6 +60,28 @@ git config --global http.proxy http://用户名:密码@东京服务器IP:3128 git config --global https.proxy http://用户名:密码@东京服务器IP:3128 ``` +### K3s (containerd) 配置 +K3s 默认使用 containerd,不走 systemd代理,需要在 k3s service 环境变量中配置。 + +```bash +# 添加代理环境变量到 k3s service +mkdir -p /etc/systemd/system/k3s.service.d +cat > /etc/systemd/system/k3s.service.d/http-proxy.conf <