Replies: 1 comment
|
Looks like the policy controller is crashing because it's trying to watch HTTPRoute resources and encountering CORS filter types that it doesn't recognize. Linkerd's policy controller uses its own gateway-api CRD definitions and probably doesn't know about filters added in 1.3. Since downgrading gwapi isn't an option, one workaround that might help: separate your HTTPRoute resources so the ones with CORS filters aren't in namespaces that Linkerd's policy controller is watching. If you're using If that's not feasible, you could try disabling the policy controller's gateway-api HTTPRoute watch by setting The real fix is Linkerd updating to support gateway-api 1.3. I believe there's ongoing work on this but the gateway-api dependency bump tends to lag a few months behind the spec releases. |
Uh oh!
There was an error while loading. Please reload this page.
Hi, im trying to integrate linkerd with our existing setup, we have Coutour as ingress, we use gateway-api 1.3.
linkerd-destination pod's policy controller is unable to start as it constantly prints warnings about unknown gateway api HttRoute filter. In our case its CORS filter, cors filter was added in gwapi 1.3, and linkerd doesnt support that version yet, but we need that filter, we have quite a lot routes already depending on this filter, so downgrade is not an option.
Is there a way to use selectors to specify which httroutes are allowed to parse and which not? or maybe polciy controller can be disabled or tuned?
All reactions