Argo CD Demo Scenarios
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. In this demo, we leverage ArgoCD to deploy application into Kubernetes cluster, the demo includes
- Basic ArgoCD GitOps pipeline
- ArgoCD UI
To use this demo, follow below steps
Open URL http://vote-argo.k8s.devsecops.ink/, show to your customer currently the application is at version 1.
Open URL https://argocd.k8s.devsecops.ink/, login with Username: admin Password: P@ssw0rd
Click below tileThis is a completed deployment view for existing application in Kubernetes, includes service, deploy, replicaset, pod and ingress, currently it shows application argo-vote is at v1 version.
Open URL https://github.com/devopsonazure/vote-argo/blob/master/manifests/deployment.yml, login with your github credentials, then click
Change highlighted line from
huangyingting/azure-vote-front-argo:v2, then commit change to github repo
Go back to webpage opened at step 3, click
Refreshbutton a few of times, the status will change to OutOfSync, and eventually it will be in Syncing state
Once syncing is completed, you will see azure-vote-front changed to revision: Rev 2
If you want to rollback the deployment, you can click "HISTORY AND ROLLBACK" button
ArgoCD keeps 5 recent deployments, you can rollback to any previous deployment among those 5 deployments, only need to click
Rollbackbutton from the popup menu.