This repository demonstrates several ArgoCD deployment concepts using a simple "hello-argo" frontend example and NGINX using manifests and helm charts. Each branch in this repository highlights a different ArgoCD pattern or use case.
- Description: Deploys a single ArgoCD Application for the packaged image of the
hello-argofrontend example. - Use Case: Basic ArgoCD usage for deploying a single application.
- Description: Adds a separate NGINX deployment alongside the
hello-argofrontend. Both are managed as independent ArgoCD Applications. - Use Case: Demonstrates managing multiple applications with ArgoCD, each with its own configuration and lifecycle.
- Description: Implements the "App of Apps" pattern, where a parent ArgoCD Application manages the deployment of both the
hello-argofrontend and the NGINX application as child Applications. - Use Case: Showcases advanced ArgoCD patterns for managing complex deployments and grouping related applications.
-
Clone the repository:
git clone <repo-url> cd <repo-directory>
-
Checkout the desired branch:
git checkout <branch-name>
-
Apply the manifests using ArgoCD:
- Apply the
argo.yamlfile to the correct namespace according to your setup K8s cluster - In the case of
two-apps, applyargo1.yamlas well
kubectl apply -f argo.yaml -n <namespace>
- Apply the
- Kubernetes cluster
- ArgoCD installed and configured