ArgoCD
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
Demo Steps
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 tile
This 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
Edit
buttonChange highlighted line from
huangyingting/azure-vote-front-argo:v1
tohuangyingting/azure-vote-front-argo:v2
, then commit change to github repo
Go back to webpage opened at step 3, click
Refresh
button a few of times, the status will change to OutOfSync, and eventually it will be in Syncing stateOnce 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
Rollback
button from the popup menu.