@@ -13,45 +13,45 @@ Show a Kubernetes development process and 0-downtime upgrades for simple Python
- minikube instance (I used latest minikube with a little more RAM (4GB) and K8s v1.17.0 (currently default version for minikube). I deployed it on VirtualBox (--vm-driver parameter):
We could use --record parameter to annotate our Deployment with what we changed, but kubectl scale doesn't add a new revision of the Deployment, new revisions are added when Deployment's Pod template changes - but it adds a command into current history slot - it was <none> before that). This is one of the many reasons that using a record :
If we use our app now, we'll get responses from one of our 3 deployed Pods (in a random fashion, remember the talk we had about Services and kube-proxy default behavior during load balancing):