I have a situation, where I am planning to use two separate traefik ingress controller inside the Kubernetes cluster.
I have a few URLs which I want to be accessible through VPN only, and few which can be publicly accessible.
In the current architecture, I have one traefik-ingress controller, and two separate ALBs, one internal and one internet-facing, both pointing to traefik.
Let's say, I have a URL public.example.com
and private.example.com
. public.example.com
is pointing to internet-facing ALB, and private.example.com
is pointing to internal ALB. But what if someone get to know the pointing of public.example.com
and points private.example.com
to same pointing in his /etc/hosts
, he will be able to access my private website.
To avoid this, I am planning to run two separate traefik-ingress-controller, one which will be serving only private URL and one public URL. Can this be done? Or is there any other way to avoid this