Skip to content
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

[zh] Sync Ambient K3S prerequisite #14826 into Chinese #14827

Merged
merged 3 commits into from
Apr 9, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ test: no
则必须在 `helm install` 命令附加
`--set values.cni.cniConfDir=/var/snap/microk8s/current/args/cni-network --set values.cni.cniBinDir=/var/snap/microk8s/current/opt/cni/bin`。

### K3S {#k3s}

1. 如果您使用的是 [K3S](https://k3s.io/),
则必须在 `helm install` 命令中附加
`--set values.cni.cniConfDir=/var/lib/rancher/k3s/agent/etc/cni/net.d --set values.cni.cniBinDir=/var/lib/rancher/k3s/data/current/bin/`,
因为 K3S 使用非标准位置来存储 CNI 配置和二进制文件。
这些非标准位置也可能[根据 K3S 文档](https://docs.k3s.io/zh/cli/server#k3s-server-cli-%E5%B8%AE%E5%8A%A9)被覆盖。
wilsonwu marked this conversation as resolved.
Show resolved Hide resolved

## CNI {#cni}

### Cilium {#cilium}
Expand Down