✅ Retail Store Application - Full e-commerce app with microservices ✅ Monitoring Stack - Prometheus + Grafana for metrics and dashboards ✅ GitOps - ArgoCD for continuous deployment ✅ Kubernetes Cluster - EKS on AWS with auto-scaling
Open your browser and go to:
http://k8s-ingressn-ingressn-b81d5b7b46-3a4c63d7d41297d2.elb.us-west-2.amazonaws.com
Run in PowerShell:
.\start-monitoring.ps1Run in PowerShell:
.\push-to-github.ps1That's it! 🎉
- HOW-TO-ACCESS.md - Complete access guide for all services
- GIT-COMMANDS.md - Git commands reference
- access-monitoring.md - Monitoring stack details
kubectl get pods -Akubectl get pods -n retail-store
kubectl get svc -n retail-store
kubectl get ingress -n retail-storekubectl get pods -n monitoringkubectl get applications -n argocd# UI logs
kubectl logs -n retail-store -l app.kubernetes.io/name=ui --tail=50 -f
# All logs
kubectl logs -n retail-store --all-containers=true --tail=100| Service | URL | Credentials |
|---|---|---|
| Retail Store | http://k8s-ingressn-ingressn-b81d5b7b46-3a4c63d7d41297d2.elb.us-west-2.amazonaws.com | None |
| Grafana | http://localhost:3000 (after port-forward) | admin / prom-operator |
| Prometheus | http://localhost:9090 (after port-forward) | None |
| ArgoCD | http://localhost:8080 (after port-forward) | admin / (get from secret) |
- UI - Frontend application
- Catalog - Product catalog service
- Cart - Shopping cart service
- Checkout - Checkout service
- Orders - Order management service
- Prometheus - Metrics collection
- Grafana - Dashboards and visualization
- Alertmanager - Alert management
- Node Exporter - Node metrics
- Kube State Metrics - Kubernetes metrics
- EKS Cluster - Managed Kubernetes on AWS
- VPC - Isolated network
- Load Balancer - NGINX Ingress Controller
- Auto Scaling - Karpenter for node scaling
- GitOps - ArgoCD for deployment automation
-
Explore Grafana Dashboards
- Login to Grafana
- Browse pre-built Kubernetes dashboards
- Create custom dashboards for retail store metrics
-
Monitor Application Metrics
- Open Prometheus
- Run queries to see application metrics
- Set up alerts
-
Use ArgoCD
- View application sync status
- Manually sync applications
- Monitor deployment health
-
Customize the Application
- Modify Helm charts in
src/*/chart/ - Commit changes to GitHub
- Watch ArgoCD auto-deploy
- Modify Helm charts in
Problem: Retail store shows 500 error
kubectl logs -n retail-store -l app.kubernetes.io/name=ui --tail=50
kubectl rollout restart deployment -n retail-storeProblem: Port forward fails
# Check if port is in use
netstat -ano | findstr :3000
# Use different port
kubectl port-forward -n monitoring svc/kube-prometheus-stack-grafana 3001:80Problem: Services not responding
kubectl get pods -n retail-store
kubectl describe pod -n retail-store <pod-name>- Check logs:
kubectl logs -n retail-store <pod-name> - Describe resources:
kubectl describe pod -n retail-store <pod-name> - View events:
kubectl get events -n retail-store --sort-by='.lastTimestamp'
Happy deploying! 🚀