In Etstur, we provisioned on-premise Kubernetes Cluster using Ansible. The challenge was that we wanted to minimize the risk of upgrading cluster. We didn't want to perform rolling-upgrade and wanted to find another solution.

After analyzing the Etstur requirements, we decided to make stack level blue-green.

Client: ETSTUR
Project type: DevOps as a Service


Before requests were coming to Kubernetes Cluster, there was a HAProxy. In HAProxy, all Kubernetes machines’ IPs were defined. Thus, any request that arrived at HAProxy was redirected to one of the Kubernetes machines.

Whenever we needed to upgrade Kubernetes version, we set up a second cluster using Ansible, and made a session draining using HAProxy. So, we basically simulated stack level blue-green and minimized the risks.

We redirected the traffic to the new stack in a slow and controlled manner.



Etstur are able to upgrade their stack without any risks. If something goes wrong, they can easily switch back to the old system.

Also, they don't redirect the whole traffic to the new stack immediately. It happens in a controlled way.

This gives better results and more confidence.