mesosphere / traefik-forward-auth

214 stars 46 forks source link

ServiceMonitor cannot access service port #63

Open r2ronoha opened 2 years ago

r2ronoha commented 2 years ago

I'm trying to set up a service monitor on the authentication service, and it does not seem to be able to access the port.

Checks:

Is it possible to monitor the port? If so, is there any additional configuration required to do so?


apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: traefik-forward-auth namespace: ingress-traefik labels: app: traefik-forward-auth chart: traefik-forward-auth-0.0.1 heritage: Tiller release: wandera spec: jobLabel: app selector: matchLabels: app: traefik-forward-auth chart: traefik-forward-auth-0.0.1 namespaceSelector: matchNames:


apiVersion: v1 kind: Service metadata: name: traefik-forward-auth namespace: ingress-traefik labels: app: traefik-forward-auth chart: traefik-forward-auth-0.0.1 release: wandera heritage: Tiller spec: type: ClusterIP selector: app: traefik-forward-auth ports: