karmada-io / karmada

Open, Multi-Cloud, Multi-Cluster Kubernetes Orchestration
https://karmada.io
Apache License 2.0
4.12k stars 807 forks source link

Introduce a mechanism to actively trigger rescheduling #4840

Open chaosi-zju opened 2 weeks ago

chaosi-zju commented 2 weeks ago

What would you like to be added:

Introducing a mechanism of actively triggering rescheduling.

Why is this needed:

In application failover scenarios, replicas migrated from primary cluster to backup cluster when primary cluster failue.

As a user, I want to trigger replicas migrating back when cluster restored, so that:

  1. restore the disaster recovery mode to ensure the reliability and stability of the cluster.
  2. save the cost of the backup cluster.

The issue is created to track all related activities:

Proposal: #4698

Implementation:

UT

E2E Test:

Doc of Best Practice: