Traefik for multiple websites

10/23/2018

I need to setup an environment to host multiple websites (hundreds), each with their own domains and external IP addresses. I was thinking about using Kubernetes, Traefik and Letsencrypt for the SSL certs (in AWS). I have a couple of questions:

  1. Is the Traefik\Kubernetes combination suitable?
  2. Will I need a load balancer or can Traefik support multiple ingress IPs;
-- user2992537
docker
kubernetes
traefik
web

1 Answer

10/23/2018
  1. Opinion question, opinion answer: Yes. It's not as popular as the nginx ingress controller but a good solution nonetheless.

  2. Generally speaking if you want to support thousands of IPs, you will need an additional load balancer that supports it together with a single ingress controller and also if you either expose your Ingress with a service type LoadBalancer or NodePort.

    However, you could actually have multiple ingress controllers, one per IP address each with its own ingressClass option. You'll have to check if your cluster can scale up to thousands of ingress controllers.

-- Rico
Source: StackOverflow