Demo to create and manage virtual machines in multi-clusters with openshift gitops.
- Setup openshift Hub cluster and managed clusters
- Install and Setup ACM in Hub cluster and add the managed clusters
- Install and configure Openshift-GitOps (ArgoCD) in Hub cluster
- Setup Managed Cluster sets and bind with the Openshift-GitOps namespace
- Label the managed cluster which need to be refered by application sets
Setup the virtualization operator on Managed cluster where VMs need to be deployed.
oc create -f applicationset-openshift-virtualization-operator-install.yaml
Deploy the Virtual Machines in managed clusters according to the label added in managed clusters (Done in Hub cluster ACM cluster list).
oc create -f applicationset-deploy-vm.yaml