Learn how to streamline software delivery with GitOps using Argo CD. Manage infrastructure and deploy applications with Git as the single source of truth. Automate updates and maintain consistency across all environments.
- kubectl (Kubernetes command-line tool).
- Option 1: Set up a local Kubernetes cluster (e.g., Minikube, kind, Docker Desktop).
- Option 2: Access a remote Kubernetes cluster..
- A GitHub account is required.
Choose one of the following tools to set up your cluster:
- Docker Desktop
- Rancher Desktop
- Orbstack
- kind
- k3s
- Minikube
Once set up, verify your cluster is running:
kubectl get nodesCreate a namespace for Argo CD.
kubectl create namespace argocd
Install Argo CD.
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
Access the Argo CD Web UI.
Forward the port and open the UI in your browser:
kubectl port-forward svc/argocd-server -n argocd 8080:80
Visit: http://localhost:8080.
Login to Argo CD.
Retrieve the admin password:
kubectl get secret -n argocd argocd-initial-admin-secret -o jsonpath="{.data.password}"| base64 -d
Fork the public workshop repository.
Create a new app in the Argo CD Web UI.
- Use the forked repository as the source.
- Configure the app with:
- Enabled namespace creation
- Enabled self-healing
Update the app version by editing the
deployment.yamlfile in your repo:- image: atbb/odds-conference:2024+ image: atbb/odds-conference:2025
Commit and push the changes.
Sync the app in Argo CD to deploy the update.
Use the Argo CD HISTORY AND ROLLBACK feature to revert to an earlier version.
- This will temporarily disable auto-sync to prevent self-healing.
Rollback with Git.
Revert the last commit in your repository:
git revert HEAD
Create a new app in the Argo CD Web UI.
Use the following Helm chart as the source: https://github.com/stakater/application.
Update the Helm values:
Set
deployment.image.repositoryto:atbb/odds-conference:2024
Delete the app in Argo CD.
Remove Argo CD resources
kubectl delete -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
Delete the namespace
kubectl delete namespace odds-conference