Study: K8s Ingress Controllers

Home ยป Guidelines

Goal (in few lines)

Compare the performances for NGinx and Traefik2 as ingress controllers.

Current Situation

Only Traefik 2 is used.

Methodology and Criteria

Benchmark the two ingress controllers with a sample application and Gatling tests. They are tested with the default configuration (no tuning).

Solutions to Compare

We only consider HTTP(S) traffic for the moment.
For the moment, only NGinx and Traefik2 need to be compared.

Later, we might want to handle TCP traffic (for IMAP and James).
In that case, we may reopen this study and add HA Proxy.

Study

The study has been documented on Github.
All the sources are located there.

Results are available on LinShare. Overall, NGinx has better performances, while Traefik2 gets issues starting from a certain threshold.

This clearly states NGinx should be used as the ingress controller for our K8s deployments.