You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
Hi! I'm using weave as the cni plugin to create a self-made mini k8s cluster. To support services, I need to map a virtual service ip(e.g. 10.6.6.6) to several container ip(e.g. 10.30.0.1, 10.30.0.2) which are allocated by weave. The problem is: How can I convert the virtual service ip to a container ip before the packet was send to Weave Router to be encapsulated in a tunnel protocol header?
I've tried using DNAT in iptables, but it doesn't work. I think the problem is although I change the packet destination (e.g. 10.6.6.6 -> 10.30.0.1), the packet will not be sent to Weave Router to add a tunnel protocol header.
Much appreciation for your help :)
The text was updated successfully, but these errors were encountered:
Hi! I'm using weave as the cni plugin to create a self-made mini k8s cluster. To support services, I need to map a virtual service ip(e.g. 10.6.6.6) to several container ip(e.g. 10.30.0.1, 10.30.0.2) which are allocated by weave. The problem is:
How can I convert the virtual service ip to a container ip before the packet was send to Weave Router to be encapsulated in a tunnel protocol header?
I've tried using DNAT in iptables, but it doesn't work. I think the problem is although I change the packet destination (e.g. 10.6.6.6 -> 10.30.0.1), the packet will not be sent to Weave Router to add a tunnel protocol header.
Much appreciation for your help :)
The text was updated successfully, but these errors were encountered: