I recently opened a ticket in github ( ingressRouteTCP: unknown field "priority" #9290 ), however it got closed, so I hope, that I have more luck here.
I tried to configure a
priority (Link) for an ingressRouteTCP router within kubernetes. I looked in the example in the documentation. The CRD defines the priority field, however, when trying to define it, I recieve an error:
error validating data: ValidationError(IngressRouteTCP.spec.routes): unknown field "priority" in us.containo.traefik.v1alpha1.IngressRouteTCP.spec.routes; if you choose to ignore these errors, turn validation off with --validate=false
I used traefik version 2.8.3 and 2.9-rc3 for my test. It is deployed using helm.
This is the configuration I used:
apiVersion: traefik.containo.us/v1alpha1 kind: IngressRouteTCP metadata: name: c2ss namespace: xmpp spec: entryPoints: - websecure routes: - match: HostSNI(`example.net`, `example.com`) priority: 50 services: - name: ejabberd port: 5223 proxyProtocol: version: 2 tls: passthrough: true
It would be great, if you can give me a hint, if I oversee something.
thanks and best regards!