Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MeshExternalService should aggregate different services into one #11221

Open
lukidzi opened this issue Aug 26, 2024 · 1 comment
Open

MeshExternalService should aggregate different services into one #11221

lukidzi opened this issue Aug 26, 2024 · 1 comment
Labels
kind/design Design doc or related kind/feature New feature triage/accepted The issue was reviewed and is complete enough to start working on it
Milestone

Comments

@lukidzi
Copy link
Contributor

lukidzi commented Aug 26, 2024

Description

Let's say we have Redis instances in zone-a (K8s), zone-b (K8s), and zone-c (universal). If we want to aggregate all these Redis instances from different zones, we can't achieve this with the current MeshExternalService. Once added on global, specific MeshExternalService will work on k8s but not universal. Allowing users to aggregate many different MeshExternalServices into one would be nice.

Use case:

  • MeshLoadbalancingStrategy and fallback to a specific zone
type: MeshExternalService
name: redis
mesh: default
spec:
  match:
    type: HostnameGenerator
    port: 6379
    protocol: tcp
  endpoints:
    - address: redis.db.svc.cluster.local

Ideas:

  • MeshMultiZoneExternalService?
@lukidzi lukidzi added triage/pending This issue will be looked at on the next triage meeting kind/feature New feature kind/design Design doc or related labels Aug 26, 2024
@jakubdyszkiewicz
Copy link
Contributor

Triage: It's about fallback of multiple MeshExternalServices. A couple of ideas

  1. Improve MeshLoadbalancingStrategy to accept multiple different MeshExternalServices
  2. Aggregate multiple MeshExternalServices into MeshMultiZoneService using meshExternalService selectors
  3. MeshMultiZoneExternalService

@jakubdyszkiewicz jakubdyszkiewicz added triage/accepted The issue was reviewed and is complete enough to start working on it and removed triage/pending This issue will be looked at on the next triage meeting labels Sep 2, 2024
@slonka slonka added this to the 2.10.x milestone Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/design Design doc or related kind/feature New feature triage/accepted The issue was reviewed and is complete enough to start working on it
Projects
None yet
Development

No branches or pull requests

3 participants