Skip to content

traefik metrics disabled by default ? #3522

Answered by ChristianCiach
jeanpommier asked this question in Q&A
Discussion options

You must be logged in to vote

You can customize the bundled Traefik by deploying a HelmChartConfig:

apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
  name: traefik
  namespace: kube-system
spec:
  valuesContent: |-
    additionalArguments:
      - '--metrics.prometheus=true'
      - '--metrics.prometheus.entryPoint=metrics'
    ports:
      metrics:
        port: 8082

See https://rancher.com/docs/k3s/latest/en/helm/#customizing-packaged-components-with-helmchartconfig

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jeanpommier
Comment options

Answer selected by brandond
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants