Failback an application
Failback is the process of moving the application and its data back to the source cluster once the source cluster is restored and operational again.
The following considerations are used in the examples on this page. Update them to the appropriate values for your environment:
- Source Cluster is the Kubernetes cluster which is down and where your applications were originally running.
- Destination Cluster is the Kubernetes cluster where the applications will be failed over.
- The Zookeeper application is being failed over to the destination cluster.
Prerequisite
-
You must ensure that Stork version 24.2.0 or newer is installed on both the source and destination clusters.
noteIf you are using a Stork version prior to 24.2.0, then you can follow this procedure to perform a failback.
-
For operators deployed from the OpenShift OperatorHub, ensure that the operator and applications are in scaled down state on the destination cluster. Stork will leverage
spec.replicasfrom most of the standard Kubernetes controllers such as Deployments, StatefulSets, and so on. However, for applications managed by an Operator, anApplicationRegistrationCR needs to be created which provides Stork with the necessary information required to perform a scale down of the application. For more information, see the Application Registration document.