unikraft / kraftkit

Build and use highly customized and ultra-lightweight unikernel VMs.
https://unikraft.org/docs/cli
BSD 3-Clause "New" or "Revised" License
202 stars 61 forks source link

Ability to "tunnel" from localhost to service group or port forward to an instance #1495

Open nderjung opened 2 months ago

nderjung commented 2 months ago

Feature request summary

This issue tracks the ability to let the user access the internal network and/or internally exposed ports of application services within a KraftCloud service group.

The purpose of this is to let users a). connect to services which are typically not exposing TLS-based traffic, which KraftCloud only supports and b). debug instances without having to publicly expose the port.

This should manifest itself as a new CLI subcommand:

kraft cloud tunnel <SERVICE|INSTANCE> [PORT[:PORT[/PROTOCOL]

Where then:

craciunoiuc commented 2 months ago

to investigate https://github.com/sumup-oss/gocat