How to use pasta with (rootless) play kube and the [email protected] #17801
Unanswered
andrew-kennedy
asked this question in
Q&A
Replies: 1 comment 6 replies
-
This is not possible at the moment. You either slirp4netns/pasta or the named networks which will always force rootlesskit as port forwarder, see #8193 That said I am going to fix this soon to fully integrate pasta with the rootless netns and I will make sure that it will keep the correct source ip. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a bunch of existing containers I generated using a process like this:
I then launch this container using the podman docker api socket:
which yields:
[email protected]
file that attaches it to the default podman network:So the launch looks like this:
podname:port
, such ascaddy-pod:8080
andplex-pod:23400
, which is very desirable. However, the default podman network mode (bridged?) does not handle original source IP correctly in packets.Finally, the question:
I heard pasta supports correct source IP in its port forwarding by default, but I'm unsure of how to integrate pasta into my workflow above, while also keeping DNS podname lookup/resolution.
Any advice?
Beta Was this translation helpful? Give feedback.
All reactions