This project demonstrates a GitOps workflow for deploying a simple React web application to a Kubernetes cluster using Argo CD and Argo Rollouts.
- Kubernetes cluster (Minikube, kind, or a cloud provider's Kubernetes service)
- Docker and Git installed
- Argo CD and Argo Rollouts installed on your cluster
react-app/
├── manifests/
│ ├── deployment.yaml
│ ├── service.yaml
│ └── rollout.yaml
├── Dockerfile
├── README.md
├── package.json
└── other React project files...
- Dockerizing the React Application
- Pushing Docker Image to Docker Hub
- Creating Kubernetes Manifests
- Pushing Code to GitHub
- Installing Argo CD
- Creating an Argo CD Application
- Syncing and Monitoring the Application
To remove resources:
- kubectl delete application react-app -n argocd
- kubectl delete namespace argocd
- kubectl delete namespace argo-rollouts