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

Add HA mode for service-mirror #11047

Merged
merged 8 commits into from
Jul 17, 2023
Merged

Add HA mode for service-mirror #11047

merged 8 commits into from
Jul 17, 2023

Commits on Jun 21, 2023

  1. Add HA mode for service-mirror

    In certain scenarios, the service-mirror may act as a single point of
    failure. Linkerd's multicluster extension supports an `--ha` mode to
    increase reliability by adding more replicas, however, it is currently
    supported only in the gateway.
    
    To avoid the service-mirror as a single point of failure, this change
    introduces an `--ha` flag for `linkerd multicluster link`. The HA flag
    will use a set of value overrides that will:
    
    * Configure the service-mirror with affinity and PDB policies to ensure replicas
      are spread across hosts to protect against (in)voluntary disruptions;
    * Configure the service-mirror to run with more than 3 replicas;
    * Configure the service-mirror deployment's rolling strategy to ensure
      at least one replica is available.
    
    Additionally, with the introduction of leader election, `linkerd mc
    gateways` displays redundant information since metrics are collected
    from each pod. This change adds a small lookup table of currently lease
    claimants. Metrics are extracted only for claimants.
    
    Signed-off-by: Matei David <[email protected]>
    mateiidavid committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    8a980d6 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2023

  1. Configuration menu
    Copy the full SHA
    130c975 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. LeaseMeta does not apply when elector creates a lease

    Signed-off-by: Matei David <[email protected]>
    mateiidavid committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    4944114 View commit details
    Browse the repository at this point in the history
  2. Fix lease fetching in multicluster check

    Signed-off-by: Matei David <[email protected]>
    mateiidavid committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    8da7cf7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b30e177 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. Configuration menu
    Copy the full SHA
    b628230 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'matei/service-mirror-ha' of github.com:linkerd/linkerd2…

    … into matei/service-mirror-ha
    mateiidavid committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    ed67dca View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. Add pod antiaffinity

    Signed-off-by: Matei David <[email protected]>
    mateiidavid committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    fa21cda View commit details
    Browse the repository at this point in the history