DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Continuous Kubernetes blue-green deployments on Azure using Nginx, AppGatew

4 years ago medium.com
Continuous Kubernetes blue-green deployments on Azure using Nginx, AppGatew

Summary: This is a summary of an article originally published by the source. Read the full original article here →

This is part two of my series on advanced deployment practices. Here now enters the practice of blue/green deployments which means that instead of replacing the previous version (here we refer to this version as blue), we bring up the new version (here referred to as the green version) next to the existing version, but not expose it to the actual users right away.

We will start with the Nginx deployment, which will leverage a single azure load balancer in front of our Nginx ingress controller in the AKS cluster.

Only if that is the case we will allow the deployment to progress and end up in the on successstep — if not we will execute the on failurestep to clean up the canary and delete the helm deployment in the green slot.

he next type of deployment will leverage the azure application gateway as ingress controller to achieve the same.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com