In this article I investigate the possibility to implement a ceph storage solution, robust, scalable and high available inside a kubernetes cluster using rook (https://rook.io/) that automates the delivery and the management of the ceph solution. The benefits of this solution are to have a storage area easy to install and manage, opposite to big ..
In this series of articles I will try to describe how to install and configure a kubernetes cluster in high availability and for production use, using an easy approach opposite to hard way, proposed by https://github.com/kelseyhightower/kubernetes-the-hard-way, that, however, is a good way to understand and learn more, inside the scenes, the infrastructure of a kubernetes ..
I write this article for sharing my experience in the configuration of kubernetes services to expose outside, explaining advantages and disadvantages of the two different solutions most used: NodePort and Ingress controller. In this direction, after different years to work with kubernetes, I can say that the best solution doesn’t exists and it depends on ..
In this article I will go deeper into the implementation of networking in kubernetes cluster explaining a scenario implemented wit Calico network plugin. Calico is a open source networking and network solution for containers that can be easily integrated with kubernetes by the container network interface specification that are well described here. I chose ..
In this article I would like to share my experience of these last years in the management of microservices architecture making a comparison with monolithic applications, through the point of view of service operation, coherently to my experience. I’m very passionate about the system and network concepts behind the scenes – kernel namespace, onion ..
In this article I explain how to discovery new microservices in kubernetes balancing them automatically without loosing the sticky session feature necessary for managing stateful services. In order to archive it, I will use a new feature of haproxy, present starting from 1.8 version, that can update an HAProxy configuration during run time, and ..
In this article I will try to explain the best practises to follow in the implementation of docker containers running in cluster mode (swarm, kubernetes or something different) or not. I’m very passionate of the docker world because there are a lot of systems and network aspects very interesting to explore, manage and deep ..
I present in this article a simple HAProxy configuration to balance dynamically the http traffic to set of containers associated to a swarm docker service. You can find the project at this git hub link: https://github.com/stefano-gristina/haproxy–swarm. The reason to make it cames from fact the the microservices should be stateless, and it should permit ..
Docker swarm and kubernetes are the most widespread container orchestrators for running micro services spanned on different nodes of a cluster. They provide high availability, scalability, security and easy management to complex software architectures. The goal is reached from docker swarm using the service concept that is a request to run containers; in kubernetes by ..
In this article I will explain how to set up mariadb database in master slave configuration in order to have a system ready in every time to go live or to use for backup purposes. It’s suggested to run the slave database in read mode in order to avoid misalignment with the master. This ..