Skip to content

Commit 0f96fe9

Browse files
changluyifanzy618
authored andcommitted
docs: 优化 Cilium eBPF 文档 - 添加占位符和资源配置
- 环境变量添加中文占位符和说明注释,防止误操作 - BroadcastJob 添加 resources limit/request
1 parent 23ab148 commit 0f96fe9

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

docs/zh/solutions/How_to_Deploy_Cilium_eBPF_L4_LoadBalancer_with_Source_IP_Preservation.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ sourceSHA: pending
6363
2. 使用 violet 上传到环境:
6464

6565
```bash
66-
export PLATFORM_URL=""
67-
export USERNAME=''
68-
export PASSWORD=''
69-
export CLUSTER_NAME=''
66+
export PLATFORM_URL="<平台地址>" # 例如: https://console.alauda.cn
67+
export USERNAME='<用户名>' # 平台登录用户名
68+
export PASSWORD='<密码>' # 平台登录密码
69+
export CLUSTER_NAME='<集群名称>' # 目标集群名称
7070

7171
violet push cilium-v4.2.17.tgz --platform-address "$PLATFORM_URL" --platform-username "$USERNAME" --platform-password "$PASSWORD" --clusters "$CLUSTER_NAME"
7272
```
@@ -171,6 +171,13 @@ spec:
171171
- name: kube-proxy-cleanup
172172
image: registry.alauda.cn:60070/tkestack/kube-proxy:<KUBERNETES_VERSION> ## 替换为 Step 1 中获取的 kube-proxy 镜像版本
173173
imagePullPolicy: IfNotPresent
174+
resources:
175+
limits:
176+
cpu: "500m"
177+
memory: "256Mi"
178+
requests:
179+
cpu: "100m"
180+
memory: "64Mi"
174181
command:
175182
- /bin/sh
176183
- -c

0 commit comments

Comments
 (0)