2026-10-05 19:00:28 +01:00
|
|
|
# Configuration of the Traefik that ships with k3s.
|
|
|
|
|
# Ingresses without a router.entrypoints annotation now use only "websecure", so
|
|
|
|
|
# plain HTTP is redirected to HTTPS by default (see http-redirect.yaml).
|
|
|
|
|
# To publish an Ingress over plain HTTP add the annotation
|
|
|
|
|
# traefik.ingress.kubernetes.io/router.entrypoints: web
|
|
|
|
|
# (or "web,websecure" to serve both without a redirect).
|
|
|
|
|
apiVersion: helm.cattle.io/v1
|
|
|
|
|
kind: HelmChartConfig
|
|
|
|
|
metadata:
|
|
|
|
|
name: traefik
|
|
|
|
|
namespace: kube-system
|
|
|
|
|
spec:
|
|
|
|
|
valuesContent: |-
|
2026-10-12 14:02:40 +01:00
|
|
|
deployment:
|
|
|
|
|
kind: DaemonSet
|
2026-10-12 14:10:30 +01:00
|
|
|
service:
|
|
|
|
|
spec:
|
|
|
|
|
externalTrafficPolicy: Local
|
2026-10-15 00:37:02 +01:00
|
|
|
# ServiceLB masquerades clients as pod traffic before the NodePort hop,
|
|
|
|
|
# which bypasses externalTrafficPolicy. Prefer the ingress on this node
|
|
|
|
|
# for that cluster-policy path as well.
|
|
|
|
|
trafficDistribution: PreferSameNode
|
2026-10-12 14:02:40 +01:00
|
|
|
tolerations:
|
|
|
|
|
- key: workload
|
|
|
|
|
operator: Equal
|
|
|
|
|
value: ai
|
|
|
|
|
effect: NoSchedule
|
2026-10-05 19:00:28 +01:00
|
|
|
ports:
|
|
|
|
|
websecure:
|
|
|
|
|
asDefault: true
|