Kubernetes Canary: The Art of Zero Downtime Deployments
The social media application you’ve just created has hit critical mass with thousands of user interactions per second. You’ve gathered your users’ feedback and want to introduce a new feature that will drive engagement. However, you’re cautious about not disrupting active users with potential downtime if the new feature causes an overload on your servers. Currently, you have a Kubernetes cluster with the Ingress-Nginx controller and a blue-green deployment setup. You can switch 100% of traffic to the new version immediately — but you’d rather divert only a small portion first and monitor the effects before fully committing. Fortunately, there’s a common solution to this: the canary deployment. ...
Kubernetes Namespaces: The Secret Weapon for Zero-Risk Blue-Green Deployments
Kubernetes has made managing container images seamless with its multitude of features such as built-in horizontal scalability, service discovery, and so much more. Kubernetes provides a rich and open framework to which an operator can take advantage of when managing their software development lifecycle. This extensibility and freedom sometimes makes it difficult to provide a single solution to everyone’s needs — such as how to update a live running application without disrupting the user experience. ...