In this article, I will explain the way how to use a dynamic pipeline generator for the Monorepo if developers will create a new microservice. Gitlab CI pipeline must be triggered only to changes on the microservice folder. Pipelines for the newly created microservices must be created automatically and nobody must think each time about this.

The topology of how the flow works looks like the following:

--

--

When I have started to research internet to configure Loadbalancer in front of MongoDB cluster I couldn’t find easy and detailed documentation about that. But, I found ways how can I get status of the MongoDB cluster with the CLI. Due that I have started to think find way for some of the loadbalancer which, will send this command to each of the backend nodes, to understand is this master or slave node. From official documentation HAProxy I found this discussion and started to go deep inside. After research, as I understand there is not enough information about that. After success result of my work with 3 cluster of structured(PostgreSQL) and non structured(Redis, MongoDB) database, I have recorded video and all stuff to share my knowledge with everyone. I hope it will be useful to all of us.

--

--

In this video, I explain the usage of Flagger with Istio together to achieve Progressive Delivery with Canary deployment. You can find a lot of information about Istio and Flagger's official pages.

To get all code files that I have used in this video please clone the following repository:

$ git clone git@github.com:jamalshahverdiev/flagger.git

To test all code files you need up and running Kubernetes cluster with deployed Istio to the istio-system namespace. I hope it will be useful to everyone.

--

--