apiVersion: v1 kind: ConfigMap metadata: labels: app: traefik name: traefik-conf data: traefik.yaml: | global: checkNewVersion: true sendAnonymousUsage: true serversTransport: insecureSkipVerify: true entryPoints: web: address: ":8000/tcp" http: redirections: entryPoint: to: websecure scheme: https websecure: address: ":8443/tcp" http: tls: options: default traefik: address: ":9000/tcp" {% for traefik_entrypoint in traefik_entrypoints %} {{ traefik_entrypoint.name }}: address: :{{ traefik_entrypoint.port }} {% if traefik_entrypoint.tls is defined and traefik_entrypoint.tls|bool %} http: tls: {} {% endif %} {% endfor %} providers: kubernetesCRD: # ingressClass: "traefik" throttleDuration: 2s kubernetesIngress: ingressClass: "traefik" file: directory: /etc/traefik/file/ watch: true metrics: prometheus: entryPoint: traefik ping: entryPoint: traefik api: dashboard: true log: level: WARN format: json accessLog: format: json fields: names: BackendAddr: keep BackendName: keep BackendURL: keep FrontendName: keep