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

Client connection tunneling #258

Merged
merged 4 commits into from
Sep 26, 2023
Merged

Client connection tunneling #258

merged 4 commits into from
Sep 26, 2023

Conversation

makhov
Copy link
Contributor

@makhov makhov commented Sep 4, 2023

Fixes #251

The current prototype is based on frp

Architecture overview:
frp

In case spec.k0sConfigSpec.tunneling.enabled == true, k0smotron will deploy frp server to the parent cluster and frp client to the child cluster.

frps server port should be accessible to the worker nodes, and tunneled port – to the end user:

In the current implementation k0smotron deploys NodePort service:

  • server_port: 31700 (-> :7000 container port)
  • tunneled_port: 31443 (-> :6443 container port)

@makhov makhov force-pushed the frp-tunneling branch 2 times, most recently from d90d9ca to bfc5b0a Compare September 5, 2023 07:03
@makhov makhov changed the title [WIP] Client connection tunneling Client connection tunneling prototype Sep 5, 2023
@makhov makhov force-pushed the frp-tunneling branch 7 times, most recently from 350e337 to 2944c58 Compare September 6, 2023 08:49
Signed-off-by: Alexey Makhov <[email protected]>

# Conflicts:
#	.github/workflows/go.yml
#	inttest/Makefile.variables
@makhov makhov force-pushed the frp-tunneling branch 4 times, most recently from d967b86 to a4074a9 Compare September 20, 2023 07:16
@makhov makhov marked this pull request as ready for review September 21, 2023 11:15
@makhov makhov requested a review from a team as a code owner September 21, 2023 11:15
@jnummelin jnummelin changed the title Client connection tunneling prototype Client connection tunneling Sep 25, 2023
@makhov makhov merged commit e934835 into k0sproject:main Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Client connection tunneling
2 participants