Creating subscription-based sample application
To test failover
from the Primary-managed cluster to the
Secondary-managed cluster and relocate
, use the following sample
application.
Before you begin
- Ensure that the Red Hat OpenShift GitOps operator is installed on the Hub cluster. For instructions, see RHACM documentation.
- When creating an application for general consumption, ensure that the application is deployed to only one cluster.
- Use the sample application called
busybox
as an example. - Ensure that all external routes of the application are configured by using either Global Traffic Manager (GTM) or Global Server Load Balancing (GLSB) service, for traffic redirection when the application fails over or is relocated.
- As a best practice, group Red Hat Advanced Cluster Management (RHACM) subscriptions that belong
together to refer to a single Placement Rule to DR protect them as a group. Further create them as a
single application for a logical grouping of the subscriptions for future DR actions like failover
and relocate.Note: If unrelated Subscriptions point to the same PlacementRule for placement actions, they will also be DR protected as the DR workflow controls all Subscriptions that point to a PlacementRule.