Argo CD is a popular tool for continuous delivery and GitOps in Kubernetes. Here's a high-level overview of the flow from a manifest in a Git repository to a Kubernetes deployment using Argo CD:
Step 1: Git Repository
You store your application's manifests (e.g., YAML or JSON files) in a Git repository (e.g., GitHub, GitLab, or Bitbucket).
The manifests define the desired state of your application, including deployments, services, pods, and other resources.
Step 2: Argo CD Source
You create an Argo CD source in your Git repository, which is a configuration file that points to the Git repository and specifies the path to the manifests.
The source configuration defines the Git repository URL, branch, and directory path where the manifests are located.
Step 3: Argo CD Application
You create an Argo CD application, which is a logical grouping of related resources (e.g., deployments, services, and pods).
The application configuration specifies the Argo CD source, the Kubernetes namespace where the resources will be deployed, and other settings (e.g., deployment strategy, rollout policy, and scaling).
Step 4: Sync
When you run the Argo CD sync command, it fetches the latest manifests from the Git repository and applies them to the Kubernetes cluster.
The sync process creates, updates, or deletes resources in the Kubernetes cluster based on the manifests and the application configuration.
Step 5: Deployment
Once the resources are created or updated, Argo CD can deploy the application to the Kubernetes cluster.
The deployment process can be configured to use a rolling update strategy, blue-green deployment, or other deployment strategies.
Step 6: Monitoring and Rollbacks
After the deployment is complete, Argo CD can monitor the application's health and detect any issues.
If an issue is detected, Argo CD can automatically roll back the deployment to a previous version or notify the development team to take corrective action.
Here's an example of an Argo CD configuration file (.argocd-application.yaml) that defines an application:
In this example, the application is named "my-app", and it sources manifests from a Git repository located at https://github.com/my-organization/my-repo.git, targeting the HEAD revision and path my-app/deploy. The application is deployed to the my-namespace namespace in the Kubernetes cluster, and the sync policy is configured to automatically heal and prune resources.
“argocd from manifest in git repository to kubernetes deployment - what is the flow.” Conversation with llama-3-8b-instruct, from the LMArena Human Preference 100K dataset. The Chat Archive, 2026. https://thechatarchive.com/c/01m851ph9mvcne56nwrq7s0mj5