Rollout Multicloud Applications with ArgoCD¶
This page explains how to integrate multicloud management with ArgoCD in the DCE 5.0 Workbench to roll out multicloud applications.
Prerequisites¶
- Fork the manifest files in advance, and have a basic understanding of Karmada's PropagationPolicy resources.
- Be able to access the ArgoCD UI normally.
- Be able to use the MultiCloud Management properly.
Register Multicloud Instances to ArgoCD¶
-
Go to MultiCloud Management and refer to Add Instance to add a new multicloud instance. Create a multicloud instance named
k-amamba
: -
Refer to Integrate Cluster to add worker clusters to the multicloud instance. Connect the worker clusters named
zxw-dev
,kpanda-global-cluster
, andgwt-68
: -
In the Overview section of the current multicloud instance, click Get Certificate to obtain the
kubeconfig
of the current instance: -
Go to the environment where ArgoCD is located and register the multicloud instance to ArgoCD:
-
After successful addition, you can see the following cluster information in the ArgoCD UI:
Create Application¶
-
Refer to the PropagationPolicy manifest file and modify it according to the worker cluster information in the multicloud instance.
-
In the ArgoCD UI, click +New APP :
-
Fill in the required information:
Field Example Value name karmamda-demo
project default
repository url https://github.com/amamba-io/amamba-examples.git
revision main
path gueskbook-kairship
cluster url k-amamba
namespace default
-
After creation, synchronize the application.
-
Go to MultiCloud Management to check the application deployment status. Click Multicloud Workload -> Deployments to enter the
guestbook-ui
details page: -
You can see that the workload is deployed across 3 worker clusters: