Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhoublue committed Dec 14, 2023
1 parent bace082 commit 110125e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/usage/underlay_cni_service-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
目前社区中大多数 Underlay 类型的 CNI(如 Macvlan、IPVlan、Sriov-CNI 等)一般对接底层网络,往往并不原生支持访问集群的 Service 。这大多是因为 underlay Pod 访问 Service 需要经过交换机的网关转发,
但网关上并没有去往 Service 的路由,造成无法正确路由访问 Service 的报文,从而丢包。Spiderpool 提供以下两种的方案解决 Underlay CNI 访问 Service 的问题:

- 通过 `kube-proxy` 实现 Underlay CNI 访问 Service
- 通过 `kube-proxy replacement with cgroup eBPF` 实现 Underlay CNI 访问 Service
- 通过 `kube-proxy` 访问 Service
- 通过 `cgroup eBPF 实现 service` 访问 Service

这两种方案都解决了 Underlay CNI 无法访问 Service 的问题,但实现原理有些不同。下面我们将介绍这两种方式:

Expand Down
4 changes: 2 additions & 2 deletions docs/usage/underlay_cni_service.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ correctly, resulting in packet loss.

Spiderpool provides the following two solutions to solve the problem of Underlay CNI accessing Service:

- Underlay CNI access Service via `kube-proxy`
- Use `cgroup eBPF` to access Underlay CNI Service
- Use `kube-proxy` to access Service
- Use `cgroup eBPF` to access Service

Both of these ways solve the problem that Underlay CNI cannot access Service, but the implementation principle is
somewhat different.
Expand Down

0 comments on commit 110125e

Please sign in to comment.