What is an Argo CD Application?
⚡
Quick Answer
An Application CR maps a repo path (source) to a cluster/namespace (destination) and defines how to sync them.
Detailed Answer
It specifies repoURL, targetRevision, and path for the source, the destination cluster and namespace, and a syncPolicy. Argo CD renders the manifests (plain YAML, Kustomize, or Helm) and keeps the destination matching. ApplicationSets can generate many Applications automatically.
Code Example
spec:
source:
repoURL: https://github.com/acme/deploy
path: overlays/prod
targetRevision: main
destination:
server: https://kubernetes.default.svc
namespace: prod💡
Interview Tip
Know the three source fields: repoURL, targetRevision, path.
argocdapplicationcrd