Hi @mumshadgmail ,
I went through the CKAD course where you explain about Blue Green Deployment. I have one query. Until we do not switch traffic from Blue to green. Means if do not add the service from blue to green How we will test our green application. It wont be accessible without service.
Kindly elaborate it or give any link where I can check the proper working of Blue green deployment in Kubernetes with all the step.
Hi @Ashirwad-Sharma
As mentioned in the course lecture, the Blue/Green Deployment strategy works well by installing Istio ServceMesh on the cluster. With Istio VirtualService, we can route traffic to selected services based on the weights defined. This way the traffic can be shifted from one version to another in a seamless manner without causing any downtime.
I suggest you take the course on Istio, that would help you understand the concepts more clearly.
Regards.
Blue/green deployments may also be performed using the Gateway API.
Gateway API will be tested in the new CKA exam starting in early 2025.