- How to point Argo CD at a repository and path containing Kubernetes manifests
- How to configure the Application (project, destination, sync policy)
- How Argo CD reports OutOfSync resources and how to perform a manual sync
Repository overview
For this demo we use a self-hosted Git server with organizationkk-org and repo capa-demos. The manifests to deploy live in the vanilla folder and include two resources: a Deployment and a NodePort Service.
Deployment (deploys the app image, exposes port 3000, sets POD_COUNT env var, single replica, namespace highway-animation):
| Resource Type | Purpose | Location (repo path) |
|---|---|---|
| Deployment | Runs the web application container | ./vanilla/deployment.yml |
| Service | Exposes application on nodePort 32000 | ./vanilla/service.yml |

Create the Argo CD Application (UI)
Follow these steps in the Argo CD web UI to create the Application:- Click “New App” (or “Create Application”) in Argo CD.
- Enter an Application name (for example:
highway-animation). - Project: choose
default(or another project you have configured). - Sync policy: for this demo set to Manual (you can enable Automatic sync later).
- Enable the sync option CreateNamespace so Argo CD will create the
highway-animationnamespace during sync. - Destination: select the cluster where Argo CD is installed and set the target namespace to
highway-animation. - Source: set the repository URL and the path to the manifests:
./vanilla. - Click Create to persist the Application resource in the cluster.

If Argo CD is running inside a Kubernetes environment such as Docker Desktop, avoid using
localhost in the repository URL because localhost inside the cluster does not point to your host machine. Use the Docker Desktop host DNS name instead, for example:
http://host.docker.internal:5000/kk-org/capa-demoshighway-animation namespace at sync time (not when the Application resource is created).

Inspect Application status and diffs
After creating the Application, Argo CD reads the repository and compares the manifests to the cluster. Initially the Application will show as OutOfSync and Missing because Argo CD has not applied the resources yet. You can confirm that the namespace has not been created:Sync the Application (deploy)
Because the Application is OutOfSync, perform a manual Sync from the Argo CD UI:- Click the Sync button for the Application.
- Confirm and start the sync operation.
- Create the
highway-animationnamespace (because CreateNamespace=true) - Apply the Service and Deployment manifests
- Add tracking annotations to the created resources
Links and references
Tip: If you want continuous deployments, change the Application sync policy to Automatic and configure any required pruning or hooks. For controlled rollouts keep Manual sync and use Argo CD’s health checks and rollout features.