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

Active/Active XSite fencing #819

Merged
merged 4 commits into from
Jun 11, 2024
Merged

Commits on Jun 10, 2024

  1. Active/Active XSite fencing. Resolves keycloak/keycloak#29303

    - User alert routing enabled on ROSA clusters
    
    - PrometheusRule used to trigger AWS Lambda webhook in the event of a
      split-brain so that only a single site remains in the global accelerator endpoints
    
    - Global Accelerator scripts refactored to use OpenTofu when creating
      AWS resources
    
    - Task created to deploy/undeploy Active/Active
    
    - Task created to simulate split-brain scenarios
    
    - 'active-active' flag added to GH actions to differentiate between
      active/passive and active/active deployments
    
    - 'active-active' and 'active-passive' tags added to crossdc-tests to
      allow different behaviours/tests to be executed for the given
      deployment type.
    
    - Active/Active specific test cases added. Testsuite now interacts
      directly with k8s clusters in order to have greater control over
      deployments being tested. This is necessary so that we can simulate
      split-brain scenarios between sites.
    
    - Daily scheduled job updated to run tests against both active/passive
      and active/active deployments
    
    Signed-off-by: Ryan Emerson <[email protected]>
    Co-authored-by: Michal Hajas <[email protected]>
    Co-authored-by: Pedro Ruivo <[email protected]>
    Signed-off-by: Ryan Emerson <[email protected]>
    3 people committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    d612cda View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9649304 View commit details
    Browse the repository at this point in the history
  3. Michal feedback

    Signed-off-by: Ryan Emerson <[email protected]>
    ryanemerson committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    5ffd611 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Add basic authentication to Lambda webhook

    Signed-off-by: Ryan Emerson <[email protected]>
    ryanemerson committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    ca53e87 View commit details
    Browse the repository at this point in the history