Skip to main content
Version: main 🚧

Deploy applications

This guide covers declaring Argo CD Applications in your Platform configuration after a connector is enabled. Platform reconciles these declarations into ArgoCDApplication objects and syncs them to your Argo CD instance.

Prerequisites​

Application templates​

An ArgoCDApplicationTemplate is a reusable Argo CD ApplicationSpec. Create one when you want to deploy the same application definition across multiple tenant clusters without duplicating configuration.

  1. Click Argo CD Templates in the left sidebar.

  2. Click .

  3. In the Basics section, enter a Display Name for the template. The ArgoCD Application Template ID is auto-generated from the display name and is the identifier you reference in your applications. Optionally add a Description.

  4. In the ArgoCD Application Spec section, fill in the YAML editor with the Argo CD ApplicationSpec.

  5. Click .

Deploy to a tenant cluster​

Applications deployed to a tenant cluster are declared in the cluster's vcluster.yaml under deploy.argoCD.applications. Each entry can target:

  1. Select your project from the projects dropdown at the top of the left navigation bar.

  2. Navigate to Tenant Clusters and click .

  3. Optionally select a cluster template, then click .

  4. Select the ArgoCD Apps tab in the cluster creation form.

  5. Click .

  6. In the Basics section, enter a Display Name for the application. The Argo CD Application ID is auto-generated from the display name and uniquely identifies the application in Argo CD.

  7. In the Destination section, choose where to deploy:

    • Select Deploy to vCluster to deploy into the tenant cluster itself.
    • Select Deploy to control plane cluster to deploy into the control plane cluster the tenant cluster runs on. The control plane cluster must already have an Argo CD connector configured.

    Fill in the Target Namespace for the selected destination.

  8. In the Source section, select Template and choose an ArgoCDApplicationTemplate from the dropdown, or select Inline application spec to define the Argo CD ApplicationSpec directly in the YAML editor.

  9. Complete the remaining cluster configuration and click .

Deploying to the control plane cluster​

Setting target: host deploys the application onto the control plane cluster rather than inside the tenant cluster. Use this for shared infrastructure — monitoring agents, logging collectors, or networking components — that belongs on the underlying cluster rather than inside a tenant cluster.

Understand the access boundary before using target: host

target: host allows configuration inside a tenant cluster to affect workloads on the control plane cluster. Before enabling this, consider:

  • Who controls the tenant cluster configuration? If tenants can edit vcluster.yaml directly, they can deploy arbitrary workloads onto the control plane cluster. Restrict this to platform admins or use cluster templates to limit what values tenants can set.
  • The control plane cluster must have a connector. If the control plane cluster does not have an Argo CD connector configured, applications with target: host will fail to deploy.
  • Applications are deployed into a specific namespace. The destinationNamespace field determines where the application lands on the control plane cluster. Ensure that namespace exists and that deploying into it is intentional.

This is a platform-admin-level capability. Do not expose it to end users without proper guardrails.

Prerequisite for target: host

The control plane cluster the tenant cluster runs on must already be registered with an Argo CD connector. Complete the connector setup for the control plane cluster first (see Connect to Argo CD or Connect to Akuity).

Deploy to a control plane cluster​

Applications deployed directly onto a control plane cluster are created as ArgoCDApplication objects in the project namespace. This is the recommended pattern for shared infrastructure that should live on the underlying cluster rather than inside a tenant cluster.

  1. Click Clusters in the left sidebar under the infrastructure section.

  2. Click the name of the control plane cluster to open its detail page.

  3. Select the ArgoCD Apps tab in the cluster header.

  4. Click .

  5. In the Basics section, enter a Display Name for the application. The Argo CD Application ID is auto-generated from the display name.

  6. In the Destination section, enter the Target Namespace on the control plane cluster where the application should be deployed. Leave it empty to use the namespace defined by the selected template or inline spec.

  7. In the Source section, select Template and choose an ArgoCDApplicationTemplate from the dropdown, or select Inline application spec to define the Argo CD ApplicationSpec directly in the YAML editor.

  8. Click .

Disabling the integration

Disabling integrations.argoCD.enabled on a tenant cluster, or removing spec.argoCD from a control plane cluster, removes the cluster from Argo CD and deletes all ArgoCDApplication objects managed by Platform. Any applications deployed by the integration will be removed from Argo CD.