Currently, the ComputeDomain (CD) Controller can only run in a single replica mode to avoid conflicts, which creates a risk of downtime if the instance fails. This makes the controller highly vulnerable to failures. A leader election capability should be added to the CD Controller. This would enable it to operate in a multi-replica setup, ensuring that only one replica is responsible for processing resource state changes at any given time, while the other replicas remain idle.
Currently, the ComputeDomain (CD) Controller can only run in a single replica mode to avoid conflicts, which creates a risk of downtime if the instance fails. This makes the controller highly vulnerable to failures. A leader election capability should be added to the CD Controller. This would enable it to operate in a multi-replica setup, ensuring that only one replica is responsible for processing resource state changes at any given time, while the other replicas remain idle.