All services are deployed and running:
- ✅ Retail Store Application (UI, Catalog, Cart, Checkout, Orders)
- ✅ Monitoring Stack (Prometheus, Grafana, Alertmanager)
- ✅ ArgoCD (GitOps)
URL: http://k8s-ingressn-ingressn-b81d5b7b46-3a4c63d7d41297d2.elb.us-west-2.amazonaws.com
Just open this URL in your browser - no login required!
What you can do:
- Browse products
- Add items to cart
- Complete checkout
- View orders
.\start-monitoring.ps1This will:
- Start port forwarding for Grafana and Prometheus
- Open both in your browser automatically
Step 1: Open a new terminal and run:
kubectl port-forward -n monitoring svc/kube-prometheus-stack-grafana 3000:80Step 2: Open browser to: http://localhost:3000
Step 3: Login with:
- Username:
admin - Password:
prom-operator
Keep the terminal open while using Grafana!
Step 1: Open a new terminal and run:
kubectl port-forward -n monitoring svc/kube-prometheus-stack-prometheus 9090:9090Step 2: Open browser to: http://localhost:9090
Try these queries:
# HTTP requests per second
rate(http_server_requests_seconds_count{namespace="retail-store"}[5m])
# Memory usage
container_memory_usage_bytes{namespace="retail-store"}
# CPU usage
rate(container_cpu_usage_seconds_total{namespace="retail-store"}[5m])
Step 1: Open a new terminal and run:
kubectl port-forward svc/argocd-server -n argocd 8080:80Step 2: Open browser to: http://localhost:8080
Step 3: Get the password:
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath='{.data.password}' | base64 -dStep 4: Login with:
- Username:
admin - Password: (from step 3)
# All retail store pods
kubectl get pods -n retail-store
# All ArgoCD applications
kubectl get applications -n argocd
# All ingresses
kubectl get ingress -A# UI logs
kubectl logs -n retail-store -l app.kubernetes.io/name=ui --tail=50 -f
# All retail store logs
kubectl logs -n retail-store --all-containers=true --tail=100# Restart UI
kubectl rollout restart deployment -n retail-store -l app.kubernetes.io/name=ui
# Restart all
kubectl rollout restart deployment -n retail-store| Service | Access Method | URL | Credentials |
|---|---|---|---|
| Retail Store | Direct | http://k8s-ingressn-ingressn-b81d5b7b46-3a4c63d7d41297d2.elb.us-west-2.amazonaws.com | None |
| Grafana | Port Forward | http://localhost:3000 | admin / prom-operator |
| Prometheus | Port Forward | http://localhost:9090 | None |
| ArgoCD | Port Forward | http://localhost:8080 | admin / (get from secret) |
If retail store shows 500 error:
kubectl logs -n retail-store -l app.kubernetes.io/name=ui --tail=50
kubectl get pods -n retail-storeIf port forward fails:
- Check if port is already in use:
netstat -ano | findstr :3000 - Kill the process or use a different port
- Make sure kubectl is connected:
kubectl get nodes
If services are not responding:
# Check pod status
kubectl get pods -n retail-store
# Restart services
kubectl rollout restart deployment -n retail-storestart-monitoring.ps1- Quick script to start Grafana and Prometheusaccess-monitoring.md- Detailed monitoring access guidemonitoring-ingress.yaml- Ingress configuration (not used, using port-forward instead)retail-store-servicemonitors.yaml- Prometheus service monitors
Enjoy your fully deployed retail store with monitoring! 🎉