Skip to content

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

  1. Go to MultiCloud Management and refer to Add Instance to add a new multicloud instance. Create a multicloud instance named k-amamba:

  2. Refer to Integrate Cluster to add worker clusters to the multicloud instance. Connect the worker clusters named zxw-dev, kpanda-global-cluster, and gwt-68:

  3. In the Overview section of the current multicloud instance, click Get Certificate to obtain the kubeconfig of the current instance:

  4. Go to the environment where ArgoCD is located and register the multicloud instance to ArgoCD:

    argocd cluster add <CONTEXT_NAME> --kubeconfig <KUBECONFIG_NAME>
    
  5. After successful addition, you can see the following cluster information in the ArgoCD UI:

Create Application

  1. Refer to the PropagationPolicy manifest file and modify it according to the worker cluster information in the multicloud instance.

  2. In the ArgoCD UI, click +New APP :

  3. 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
  4. After creation, synchronize the application.

  5. Go to MultiCloud Management to check the application deployment status. Click Multicloud Workload -> Deployments to enter the guestbook-ui details page:

  6. You can see that the workload is deployed across 3 worker clusters:

Comments