Youtube Video (Arabic): https://www.youtube.com/watch?v=yYxxVzjvcms
Demonstration for three types of software deployment methods: Rolling Updates, Canary, Blue/Green.
See this drawing for more info: Excalidraw
- Minikube or any Kubernetes cluster running
kubectlconfigured and connected to your cluster- python@3.10+
- Start kubectl proxy:
kubectl proxy --port=8001and in another terminal:
python3 cors-proxy.py- Open the dashboard:
open dashboard.html
# Or simply double-click dashboard.html- The dashboard should automatically connect to
http://localhost:8002or
- Check kubectl proxy is running:
curl http://localhost:8001/api/v1/namespaces/default/pods- Check if pods are running:
kubectl get pods -l app=rolling-demo
kubectl get pods -l app=canary-demo
kubectl get pods -l app=bluegreen-demo- Check namespace:
- Dashboard is configured for the
defaultnamespace - Ensure deployments are in the
defaultnamespace
This is common with direct API access. Solutions:
- Use kubectl proxy instead:
kubectl proxy --port=8001- Or visit the API URL in your browser first and accept the certificate
To remove all resources:
# Delete deployments
kubectl delete -f rolling-update/
kubectl delete -f canary/
kubectl delete -f blue-green/
# Delete RBAC resources
kubectl delete -f rbac/