mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-23 17:28:44 +00:00
Adds Traefik v2 documentation to ingress options (#2392)
This commit is contained in:
parent
01ce567b66
commit
9a367da4f7
1 changed files with 26 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue