Skip to content

Support fallback to endpoint routing on headless services when routingType is set to Service #7849

@tmyhu

Description

@tmyhu

When routingType in EnvoyProxy is set to Service, all routes pointing to headless services don't work due to invalid references. Which is expected as the headless service does not have a Cluster IP to route to.

Since I'm using linkerd service mesh, I would like to enable routing to the service where possible but fallback to endpoint routing for headless services. At the moment, it looks like I must use routingType Endpoint for everything as there is a single route to a headless service attached to a gateway.

If automatic fallback is not feasible, maybe this could be overwritten manually in a BackendTrafficPolicy for affected routes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions