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

feat: add TCPRoute controller #55

Merged
merged 12 commits into from
Dec 21, 2022

Conversation

shaneutt
Copy link
Member

@shaneutt shaneutt commented Dec 20, 2022

This primarily adds the TCPRoute controller and samples. Note however that the dataplane does not have complete TCP support yet (though some scaffolding for it is added as of this PR) so the dataplane configuration produced is valid but the samples wont work yet. This scaffolding however will help to support #45 and #15 which are responsible for completing this.

Resolves #16

This also includes some refactoring and cleanup, notably it refactors the dataplane code into modules.

@shaneutt shaneutt marked this pull request as ready for review December 21, 2022 01:12
Copy link
Member

@mlavacca mlavacca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left some comments on the controlplane part of the PR, I'll let @astoycos chime in and review the rust/eBPF side of things.

controllers/tcproute_controller.go Outdated Show resolved Hide resolved
controllers/tcproute_controller.go Outdated Show resolved Hide resolved
controllers/tcproute_controller.go Outdated Show resolved Hide resolved
controllers/tcproute_controller.go Outdated Show resolved Hide resolved
controllers/tcproute_controller.go Show resolved Hide resolved
tools/udp-test-server/Dockerfile Show resolved Hide resolved
@shaneutt shaneutt added the do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. label Dec 21, 2022
@shaneutt
Copy link
Member Author

added do-not-merge as I intend to do some commit squashing in rebase before we merge.

@mlavacca mlavacca self-requested a review December 21, 2022 14:38
mlavacca
mlavacca previously approved these changes Dec 21, 2022
mlavacca
mlavacca previously approved these changes Dec 21, 2022
Makefile Show resolved Hide resolved
Copy link
Member

@astoycos astoycos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are great improvements to the development workflow, thanks!

@shaneutt
Copy link
Member Author

Re-based, ready to merge 👍

@shaneutt shaneutt removed the do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. label Dec 21, 2022
@shaneutt shaneutt merged commit 8c691c2 into kubernetes-sigs:main Dec 21, 2022
@shaneutt shaneutt deleted the shaneutt/tcproute-controller branch December 21, 2022 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TCPRoute Support (control-plane)
3 participants