-
Notifications
You must be signed in to change notification settings - Fork 811
Description
Welcome!
- Yes, I've searched similar issues on GitHub and didn't find any.
- Yes, I've searched similar issues on the Traefik community forum and didn't find any.
What version of the Traefik's Helm Chart are you using?
38.0
What version of Traefik are you using?
3.6.5
What did you expect to happen ?
Hi everyone,
just wondering how to craete an ingress with support knative serving. I already enable provider for knative and installed knative serving with config-network ingress-class : "traefik.ingress.networking.knative.dev"
Here's my ingress
`
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: dummy-knative-ingress-traefik
namespace: dummy
annotations:
traefik.ingress.kubernetes.io/service.serverstransport.forwardingtimeouts.readtimeout: "60s"
traefik.ingress.kubernetes.io/service.serverstransport.forwardingtimeouts.writetimeout: "60s"
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
ingressClassName: traefik
rules:
- host: dummy-knative.example.com
http:
paths:- backend:
service:
name: dummy-knative
port:
number: 80
path: /
pathType: Prefix
`
- backend:
It got 502 Bad gateway, try to using middleware
apiVersion: traefik.io/v1alpha1 kind: Middleware metadata: name: dummy-knative-host-header namespace: dummy spec: headers: customRequestHeaders: Host: "dummy-knative.dummy.svc.cluster.local"
It return 404 Not found. I'm kinda confuse is it really working Knative through traefik or I just misconfiguration something?
Try look on docs not really helpful doesn't have any example manifest for ingress through traefik into knative