First time using Traefik

Im running Kubernetes with traefik as my ingress.
I've deployed rabbitmq to my cluster but i can't work out how i get traefik to route frontend to backend. The backend never shows as available. I'm pretty sure i set the ingress correctly and specified the name of the rabbitmq service.

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: rabbitmq
  annotations:
    kubernetes.io/ingress.class: traefik
spec:
  rules:
  - host: rabbitmq.domain.com
    http:
      paths:
      - path: /
        backend:
          serviceName: rabbitmq
          servicePort: http

Thanks

1 Like