Learn how to implement Blue/Green deployments in Kubernetes and lower deployment risk. Install Istio - a powerful service mesh to implement routing rules.
Length 32:29
Captions English (Generated), Spanish (Auto-translated), French (Auto-translated), Korean (Auto-translated), Portuguese (Auto-translated), Vietnamese (Auto-translated) #istio #kubernetes #blue-green deployment #helm #service mesh #traffic management #devops #docker #nestjs #automation
0:00 Today, I'm super excited to bring you a new 0:02 lecture on blue-green deployments 0:04 using Istio in a Kubernetes cluster. 0:07 So if you're not aware about what blue-green deployments are, 0:09 I have a diagram here 0:11 I found online, which is a good representation of them. 0:14 Essentially, it's a way that allows us to deploy our software, 0:16 where we're actually 0:18 running two versions of our application at the same time, 0:22 and we have a router 0:24 that is actually handling incoming requests and sending that request 0:28 to either the blue version of the application, which is running one version, 0:32 or the green version, which is running the newer version. 0:35 So we can switch traffic between them at any time once we're ready for upgrading. 0:40 They share common services like a database and other external 0:43 providers. However, if at any time we need to roll back 0:46 because there's some 0:47 issues with the deployment or we run into some bugs in the code, 0:51 we can 0:51 simply reconfigure this router to send the user back to the previous version. 0:56 So it's a very powerful deployment strategy that helps to lower our risk 0:59 during our 1:00 deployments. And the way we can do this in Kubernetes 1:03 is 1:03 by having Istio be this common router that 1:07 essentially surrounds our entire Kubernetes cluster in something called 1:11 a service mesh. So a service mesh is a way 1:15 to actually configure programmable rules in an 1:18 application-aware network, in our case, the Kubernetes cluster. 1:22 It's gonna allow us to use the Envoy proxy to actually 1:26 redirect traffic to the appropriate namespace, where we're gonna have 1:30 multiple Helm installations running, one for the blue environment and another 1:34 for the green environment. 1:36 I'm super excited to show you how to install Istio and make it 1:39 useful for a blue-green deployment in Kubernetes. 1:42 Let's go ahead and jump right in. I'll see you there. All right.
The rest of the transcript is for members.
Sign in