Creating ApplicationSet-based applications
Before you begin
- Ensure that the Red Hat OpenShift GitOps operator is installed on all three clusters: Hub cluster, Primary managed cluster and Secondary managed cluster. For instructions, see Installing Red Hat OpenShift GitOps Operator in web console.
- On the Hub cluster, ensure that both Primary and Secondary managed clusters are registered to
GitOps. For registration instructions, see in Red Hat Advanced Cluster Management for Kubernetes product
documentation. Then check if the Placement used by
GitOpsClusterresource to register both managed clusters, has the tolerations to deal with cluster unavailability. You can verify if the following tolerations are added to the Placement using the command.oc get placement <placement-name> -n openshift-gitops -o yaml.
In case the tolerations are not added, see in Red Hat Advanced Cluster Management for Kubernetes product documentation.tolerations: - key: cluster.open-cluster-management.io/unreachable operator: Exists - key: cluster.open-cluster-management.io/unavailable operator: Exists - Ensure that you have created the
ClusterRoleBindingyaml on both the Primary and Secondary managed clusters. For instruction, see in Red Hat Advanced Cluster Management for Kubernetes product documentation.