Creating Applications via UI
The web UI provides an intuitive interface for creating applications with guided forms.Steps
- Log in to the Argo CD UI
- Click the + New App button
-
Fill in the application details:
- Application Name: A unique name for your application
- Project: The Argo CD project (default:
default) - Sync Policy: Choose
ManualorAutomatic
-
Configure the source repository:
- Repository URL: Your Git repository URL
- Revision: Branch, tag, or commit (e.g.,
HEAD,main, or a specific tag) - Path: Path within the repository containing manifests
-
Set the destination:
- Cluster URL:
https://kubernetes.default.svcfor in-cluster - Namespace: Target namespace for deployment
- Cluster URL:
- Click Create
Creating Applications via CLI
The Argo CD CLI is ideal for automation, scripting, and quick application creation from the terminal.Basic Application Creation
With Auto-Sync Enabled
Helm Application
Common CLI Options
string
required
Git repository URL or Helm chart repository
string
Path within the repository (for Git sources)
string
required
Kubernetes API server URL
string
required
Target namespace for resources
string
Set to
automated for automatic syncstring
Argo CD project name (default:
default)Creating Applications Declaratively
Declarative application manifests provide version control, consistency, and enable GitOps workflows for managing applications themselves.Basic Application Manifest
Application with Auto-Sync
Helm Application Manifest
Kustomize Application
Application with Finalizers
Multi-Source Applications
Argo CD supports applications with multiple sources, useful for combining Helm charts with external values files or mixing different repositories.Application Info
You can add extra information to display in the Argo CD Application details tab:Applying Declarative Manifests
Once you’ve created your Application manifest, apply it to the cluster:Declarative application manifests should be stored in Git to follow GitOps principles. This enables the “App of Apps” pattern where Argo CD manages its own application definitions.
Verifying Application Creation
Using CLI
Using kubectl
Best Practices
Use Projects
Organize applications into projects for better access control and resource isolation.
Version Control
Store declarative manifests in Git to track changes and enable rollbacks.
Naming Conventions
Use consistent naming patterns:
<team>-<app>-<env> helps with organization.Start Manual
Begin with manual sync policy, then enable auto-sync once you’re confident.
Next Steps
Sync Options
Configure how applications sync to the cluster
Sync Waves
Control deployment order with sync waves
Resource Hooks
Run jobs before, during, or after sync
Tracking Strategies
Learn about Git tracking methods