Skip to content

Upstream part of smarter way to pick endpoints for dual-stack IPv4/v6 support #21640

@soulxu

Description

@soulxu

As @mattklein123 said at #16123 (comment) the issue #16123 can be separated into two parts: upstream and downstream.

The downstream part is about Support multiple addresses in the listener #11184, and it is under review.

So it is time to look at the upstream part.

A little background here:

With multiple addresses in listener, it gets rid of the duplicated listeners. but since people want to choose endpoint smartly (ipv4 request choose ipv4 endpoint, ipv6 request choose ipv6 endpoint), still have to add duplicated config.

  • One way is using two duplicated filter chains to choose two duplicated clusters.
  • Another way is using the endpoint metadata to get rid of the duplicated clusters, it is a little improved but still, has two duplicated filter chains. The example config can be referenced here listener: support multiple addresses #19367 (comment)

So I'm thinking there need three things to reach the final goal:

Appreciate any feedback and comments on this, let me know whether those proposals are enough for this use-case and correct for this usecase!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/clusterenhancementFeature requests. Not bugs or questions.stalestalebot believes this issue/PR has not been touched recently

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions