How to change the subnet Liqo can use for cross-clsuter VPN tunnels in HA mode ? #2389
Unanswered
IceManGreen
asked this question in
Q&A
Replies: 0 comments
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.
-
Hello everyone,
I try to achieve a usecase in which I want to install Liqo's Gateways on a different subnet than the Kubernetes control-plane with HA mode.
Indeed, I separate two subnets for different purposes :
172.16.100.0/24and inter-node communications.172.16.110.0/24and cross-cluster communications.Communications are not allowed between these 2 subnets so machines on the control plane cannot communicate with machines on the data plane.
In this context, I deployed 2 K3S clusters :
domain-1with 3 nodes172.16.100.93(control-plane) and172.16.110.93(data plane)172.16.100.94(control-plane) and172.16.110.94(data plane)172.16.100.95(control-plane) and172.16.110.95(data plane)domain-2with 3 nodes172.16.100.87(control-plane) and172.16.110.87(data plane)172.16.100.88(control-plane) and172.16.110.88(data plane)172.16.100.89(control-plane) and172.16.110.89(data plane)Each K3S control plane (server) is installed on
172.16.100.0/24(control plane), so the APIs are addressed on this subnet.But the thing is that I want Liqo to establish the cross-cluster VPN tunnels on
172.16.110.0/24(data-plane).But I encounter 2 main difficulties :
liqoctl install k3s --api-server-url https://172.16.100.93:6443 --enable-hainstalls the gateway pods on172.16.100.0/24and this is not what I want. Is there a possibility to install the pods on a different IPv4 ? Or interface ?liqoctl install k3s --api-server-url https://172.16.100.93:6443 --set "gateway.service.type=LoadBalancer" --enable-haand a service is properly created on172.16.110.0/24and point to the Liqo gateway pods on172.16.100.0/24. But the problem is that if the node hosting the IP configured for the load balancer fails, even if the Liqo gateway pod can migrate from a worker node that failed to another, the load balancer service is not changing the IP dynamically to another node's IP that has not failed. Is there a way to ensure the Liqo HA mode while choosing the IPv4 used for cross-cluster VPN tunnels ?Thanks everyone !
Beta Was this translation helpful? Give feedback.
All reactions