# Add all changes
git add .
# Commit with message
git commit -m "Update all service README files with deployment status"
# Push to GitHub
git push origin gitops# Run the sync script
.\sync-argocd.ps1OR wait 3 minutes for auto-sync
# Check ArgoCD application status
kubectl get applications -n argocd
# Check if pods restarted (they won't for README changes, but you can verify sync)
kubectl get pods -n retail-store
# View ArgoCD sync status
kubectl get application retail-store-ui -n argocd -o yaml | grep -A 5 "status:"# Start Grafana and Prometheus
.\start-monitoring.ps1Then open:
- Grafana: http://localhost:3000 (admin/prom-operator)
- Prometheus: http://localhost:9090
# Port forward ArgoCD
kubectl port-forward svc/argocd-server -n argocd 8080:80Then open: http://localhost:8080
Get password:
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath='{.data.password}' | base64 -d# Get all pods
kubectl get pods -n retail-store
# Get all services
kubectl get svc -n retail-store
# Get ingress
kubectl get ingress -n retail-store
# Get load balancer URL
kubectl get svc -n ingress-nginx ingress-nginx-controller -o yaml | grep hostnamegit add . && git commit -m "Update README files" && git push origin gitops && .\sync-argocd.ps1Updated README.md files in:
- ✅ src/ui/README.md
- ✅ src/catalog/README.md
- ✅ src/cart/README.md
- ✅ src/checkout/README.md
- ✅ src/orders/README.md
Each now shows:
- Last updated date
- ArgoCD GitOps deployment status
- Current version info
- Push to GitHub: Instant
- ArgoCD detects change: Up to 3 minutes (or instant with sync script)
- Sync completes: 10-30 seconds
Note: README changes don't trigger pod restarts, but you'll see the sync status update in ArgoCD!
After syncing, you'll see:
- ✅ All applications show "Synced" status
- ✅ Last sync time updated
- ✅ Commit hash matches your latest commit
Ready to run? Copy and paste the commands above! 🚀