traefik: Kubernetes Priority Annotation Doesn't Work

Do you want to request a feature or report a bug?

Bug

What did you do?

Configure ingress as such:

kind: Ingress
apiVersion: extensions/v1beta1
metadata:
  name: api-service-ingress-api-gateway
  namespace: myapp
  annotations:
    kubernetes.io/ingress.class: traefik
    traefik.frontend.priority: 2
spec:
  tls:
  - hosts:
    - api.myapp.com
    secretName: api-tls
  rules:
  - host: api.myapp.com
    http:
      paths:
        - backend:
            serviceName: api-service
            servicePort: 10000

What did you expect to see?

Priority applied to rule

What did you see instead?

Priority 1 and no anotation listed under kubectl describe

Output of traefik version: (What version of Traefik are you using?)

1.4

What is your environment & configuration (arguments, toml, provider, platform, …)?

Kubernetes / Helm Chart

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18

Most upvoted comments

Wild guess: try specifying the priority as "2" instead of 2?