| Matthias Andreas Benkard | 880a160 | 2026-11-04 21:36:23 +0100 | [diff] [blame] | 1 | # 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 | |
| 11 | deployment: |
| 12 | replicas: 1 |
| 13 | |
| 14 | # Single node with hostPorts: the old pod must release the ports before the |
| 15 | # new one can start. |
| 16 | updateStrategy: |
| 17 | type: RollingUpdate |
| 18 | rollingUpdate: |
| 19 | maxSurge: 0 |
| 20 | maxUnavailable: 1 |
| 21 | |
| 22 | resources: |
| 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. |
| 29 | readinessProbe: |
| 30 | timeoutSeconds: 5 |
| 31 | livenessProbe: |
| 32 | timeoutSeconds: 5 |
| 33 | |
| 34 | accessLog: |
| 35 | enabled: true |
| 36 | |
| 37 | ingressClass: |
| 38 | # The "nginx" IngressClass (traefik/ingressclass.yaml) is kept instead. |
| 39 | enabled: false |
| 40 | |
| 41 | providers: |
| 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 | |
| 55 | service: |
| 56 | spec: |
| 57 | type: NodePort |
| 58 | |
| 59 | ports: |
| 60 | web: |
| Matthias Andreas Benkard | 6fa2337 | 2026-11-04 21:43:38 +0100 | [diff] [blame] | 61 | hostPort: 80 |
| Matthias Andreas Benkard | 880a160 | 2026-11-04 21:36:23 +0100 | [diff] [blame] | 62 | 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 Benkard | 6fa2337 | 2026-11-04 21:43:38 +0100 | [diff] [blame] | 72 | hostPort: 443 |
| Matthias Andreas Benkard | 880a160 | 2026-11-04 21:36:23 +0100 | [diff] [blame] | 73 | http: |
| 74 | aliasHeadersStrategy: delete |
| 75 | encodedCharacters: *encodedCharacters |