Deploying to multiple clusters
We learned how to register external clusters in the Configuring Argo CD against multiple clusters section. As soon as you have multiple external clusters registered to Argo CD, deploying an application to one of them is simple – you only need to refer to the external cluster you registered in the destination
field of Argo CD’s Application
. An example of this can be seen in the following manifest:
apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: clouds-app-dev-external-cluster namespace: openshift-gitops spec: project: clouds-api source: repoURL: `https://github.com/PacktPublishing/OpenShift-Multi-Cluster-Management-Handbook' path: chapter10/clouds-api-gitops/overlays/dev targetRevision: dev destination: server: 'https://api.<external-cluster>:6443...