Adds Traefik v2 documentation to ingress options (#2392)

This commit is contained in:
Andrew Waters 2019-10-01 22:41:51 +01:00 committed by Alexander Matyushentsev
parent 01ce567b66
commit 9a367da4f7

View file

@ -120,6 +120,32 @@ the API server -- one for gRPC and the other for HTTP/HTTPS. However it allows T
happen at the ingress controller.
## [Traefik (v2.0)](https://docs.traefik.io/)
Traefik can be used as an edge router and provide [TLS](https://docs.traefik.io/user-guides/crd-acme/) termination within the same deployment.
It currently has an advantage over NGINX in that it can terminate both TCP and HTTP connections _on the same port_ meaning you do not require multiple ingress objects and hosts.
```yaml
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: argocd-server-ingress
spec:
entryPoints:
- websecure
routes:
- match: Host(`argocd.example.com`)
kind: Rule
services:
- name: argocd-server
port: 80
tls:
certResolver: default
options: {}
```
## AWS Application Load Balancers (ALBs) And Classic ELB (HTTP Mode)
ALBs and Classic ELBs don't fully support HTTP2/gRPC, which is used by the `argocd` CLI.