Hey all, I have a router with MAAS behind it and Kubernetes behind the MAAS controller (it has 2 NICs — one connected to the Kubernetes and one connected to the router). I am trying to connect to a container in Kubernetes with an IP address of 10.12.0.2 from another computer on the router. However, I can’t connect.
The MAAS controller has an IP address of 10.11.0.2 and I can connect to that just fine. However, the 10.12.0.0 network is not exposed to the router. How can I connect to the Kubernetes cluster from a computer connected to the router? Is there an automated way I can do this without having to manually bridge IPs in the MAAS for every new container? Also, can I do this in a way that has a minimal impact to the security that having a MAAS node inbetween the Kubernetes cluster and the router provides?