-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
bpf: Inter-cluster SNAT with ClusterIP global service #24212
Merged
youngnick
merged 25 commits into
cilium:master
from
YutaroHayakawa:yutaro/oss/clustermesh-overlapping-podcidr/datapath
Mar 22, 2023
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
f1ed5fd
Small bug fixes for per-cluster CT and SNAT map
YutaroHayakawa 6b73dc6
bpf: Define UINT8_MAX
YutaroHayakawa 38c0f90
bpf: Change ipcache_lookup4/6 to accept __u32 cluster_id
YutaroHayakawa a48e4ec
bpf: Introduce CLUSTER_ID and IPV4_INTER_CLUSTER_SNAT macros
YutaroHayakawa 91014c3
bpf: Add a helper function to extract ClusterID from identity
YutaroHayakawa b609fb0
bpf: Add helper functions to transfer ClusterID with mark
YutaroHayakawa 0919b29
bpf: Add helper functions to get per-cluster CT
YutaroHayakawa 5a8de7d
bpf: Add helper functions to get per-cluster SNAT maps
YutaroHayakawa b21fe53
bpf,hubble: Introduce DROP_CT_NO_MAP_FOUND
YutaroHayakawa 2a3e567
bpf,hubble: Introduce DROP_SNAT_NO_MAP_FOUND
YutaroHayakawa 42cf67a
bpf,hubble: Introduce DROP_INVALID_CLUSTER_ID
YutaroHayakawa 0f540b2
bpf: Introduce from_tunnel field to ctmap value
YutaroHayakawa 3b451b4
bpf: Always enable per-packet LB for cluster-aware addressing
YutaroHayakawa 36f0789
bpf: Client/Egress Obtain service backend's ClusterID
YutaroHayakawa e2a039a
bpf: Client/Egress Lookup/Create per-cluster CT map entry on egress
YutaroHayakawa 7d5c36e
bpf: Client/Egress Cluster-aware egress network policy and tunnel red…
YutaroHayakawa 795e3e1
bpf: Client/Egress Inter-cluster SNAT egress
YutaroHayakawa 0921bd3
bpf: Server/Ingress Request path of the inter-cluster communication
YutaroHayakawa 6be195e
bpf: Server/Egress Reply path of the inter-cluster communication
YutaroHayakawa fa37b58
bpf: Client/Ingress Inter-cluster SNAT ingress
YutaroHayakawa c1f2237
bpf: Client/Ingress Reply path of the client cluster lxc
YutaroHayakawa b5996c2
bpf,test: Initialize per-cluster CT/SNAT for test
YutaroHayakawa 32fd6aa
bpf,test: Add BPF unit tests for inter-cluster SNAT communication
YutaroHayakawa 75802ca
bpf,test: Add complexity-test scenarios for inter-cluster SNAT
YutaroHayakawa 9a274db
bpf,test: Disable coverage reports for some tests
YutaroHayakawa File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@YutaroHayakawa FYI, @ysksuzuki is using the drop number 190 in his PR. Whoever is ready to merge first wins. Let me know when you're ready and I'll give you 🍏 for API.