docs: Extend BPF-based masquerading section#12145
Conversation
|
test-me-please |
joestringer
left a comment
There was a problem hiding this comment.
Awesome thanks! A few minor nits below.
7b60a4b to
a377c8a
Compare
|
@joestringer Thanks for the review. I've addressed your comments + extended the cilium status to include the SNAT exclusion CIDR (three last commits). PTAL. |
|
test-me-please |
aanm
left a comment
There was a problem hiding this comment.
I didn't read the docs only code.
9d67d7c to
77a988d
Compare
|
test-me-please |
This commit extends "cilium status" to show which devices can run
the BPF masquerading program. E.g.:
$ cilium status | grep Masquerading
Masquerading: BPF [eth0, eth1]
Signed-off-by: Martynas Pumputis <m@lambda.lt>
Signed-off-by: Martynas Pumputis <m@lambda.lt>
|
CI net-next provisioning failed: |
|
run-net-next |
joestringer
left a comment
There was a problem hiding this comment.
Minor nits, otherwise LGTM.
| I think it's important for users to understand how we sync a config. The example below | ||
| shows how to configure the agent via `ConfigMap` and to verify it: | ||
|
|
||
| :: |
There was a problem hiding this comment.
Any reason to avoid using .. code-block:: shell-session and obvious shell bits like starting lines you execute with $? Seems a bit weird to not differentiate the commands and the output here.
There was a problem hiding this comment.
Agree, but I wanted to make it consistent with other guides. IIRC we had a discussion some time ago whether we should keep $'s in our guides. The consensus was to get rid of them.
|
Previous test lost connectivity to the VM: https://jenkins.cilium.io/job/Cilium-PR-K8s-oldest-net-next/883/ |
|
retest-net-next |
77a988d to
70ed8e6
Compare
|
test-me-please |
Signed-off-by: Martynas Pumputis <m@lambda.lt>
The helper is used to determine the dst CIDR for SNAT exclusion. Signed-off-by: Martynas Pumputis <m@lambda.lt>
This commits extends "cilium status" to show dst cidr of SNAT exclusion.
E.g.:
$ cilium status | grep Masquerading
Masquerading: BPF [eth0, eth1] 10.0.0.0/16
Signed-off-by: Martynas Pumputis <m@lambda.lt>
Signed-off-by: Martynas Pumputis <m@lambda.lt>
|
test-me-please |
This PR:
cilium statusto show masq devices.global.devicesin the kubeproxy-free gsg.Reviewable per commit.