Files
homelab/k8s-ng/core/traefik-config/helmchartconfig.yaml
T
Aleksandr Bogomiakov da97f66448
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 10s
Keep ingress traffic on the node selected by DNS
2026-10-12 14:10:30 +01:00

27 lines
769 B
YAML

# 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: |-
deployment:
kind: DaemonSet
service:
spec:
externalTrafficPolicy: Local
tolerations:
- key: workload
operator: Equal
value: ai
effect: NoSchedule
ports:
websecure:
asDefault: true