blob: 52c1a5f355631530bc81937139c849e9d320631c [file] [log] [blame]
Matthias Andreas Benkard880a1602026-11-04 21:36:23 +01001# Helm values for Traefik, the ingress controller replacing ingress-nginx.
2#
3# helm upgrade --install traefik traefik --repo https://traefik.github.io/charts \
4# --version 42.1.3 -n traefik --create-namespace -f traefik/values.yaml
5#
6# Traefik serves the existing Ingress objects of class "nginx" through its
7# ingress-nginx compatibility provider, so the Ingresses need no changes.
8# The CRD provider is enabled for routes that need Traefik middlewares
9# (e.g., the cgit rate limit in git/git.yaml).
10
11deployment:
12 replicas: 1
13
14# Single node with hostPorts: the old pod must release the ports before the
15# new one can start.
16updateStrategy:
17 type: RollingUpdate
18 rollingUpdate:
19 maxSurge: 0
20 maxUnavailable: 1
21
22resources:
23 requests:
24 cpu: 100m
25 memory: 100Mi
26
27# ifirn is occasionally CPU-starved; the default 2s timeout caused liveness
28# kills under load.
29readinessProbe:
30 timeoutSeconds: 5
31livenessProbe:
32 timeoutSeconds: 5
33
34accessLog:
35 enabled: true
36
37ingressClass:
38 # The "nginx" IngressClass (traefik/ingressclass.yaml) is kept instead.
39 enabled: false
40
41providers:
42 kubernetesCRD:
43 enabled: true
44 allowCrossNamespace: false
45 kubernetesIngress:
46 enabled: false
47 kubernetesIngressNGINX:
48 enabled: true
49 ingressClass: nginx
50 controllerClass: k8s.io/ingress-nginx
51 # Defaults carried over from the old ingress-nginx ConfigMap.
52 proxyBufferSize: 65536
53 proxyRequestBuffering: true
54
55service:
56 spec:
57 type: NodePort
58
59ports:
60 web:
Matthias Andreas Benkard6fa23372026-11-04 21:43:38 +010061 hostPort: 80
Matthias Andreas Benkard880a1602026-11-04 21:36:23 +010062 http:
63 aliasHeadersStrategy: delete
64 encodedCharacters: &encodedCharacters
65 allowEncodedBackSlash: true
66 allowEncodedHash: true
67 allowEncodedPercent: true
68 allowEncodedQuestionMark: true
69 allowEncodedSemicolon: true
70 allowEncodedSlash: true
71 websecure:
Matthias Andreas Benkard6fa23372026-11-04 21:43:38 +010072 hostPort: 443
Matthias Andreas Benkard880a1602026-11-04 21:36:23 +010073 http:
74 aliasHeadersStrategy: delete
75 encodedCharacters: *encodedCharacters