Argo CD is a continuous delivery tool for Kubernetes that keeps deployed applications aligned with declarative manifests stored in Git. In an ML deployment workflow, CI updates a Helm chart and image tag, while Argo CD deploys and monitors the resulting application. section 3.4 section 3.4.2
A practical Argo CD setup connects a repository, chart, cluster, and namespace:
- Add the Git repository, using HTTPS authentication and the required credentials. section 3.4.2
- Create an application that points to the repository URL, target revision, and path containing the Helm chart. section 3.4.2
- Select the Kubernetes cluster and namespace, create the namespace if necessary, and synchronize the application. section 3.4.2
Detecting and correcting configuration drift
After deployment, changing the FastAPI service from ClusterIP to LoadBalancer makes the application out of sync. Argo CD displays the difference between the live and expected manifests and can restore the Git-defined configuration, preserving Git as the single source of truth. section 3.4.2
Figure 3.14 Argo CD ensures that the manifests in Git and the ones deployed in K8s match.
Use the manifest comparison figure to inspect how Argo CD matches Git definitions with resources deployed in Kubernetes. section 3.4.2
