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 service oriented architecture, called commonly SOA, 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 ..
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 ..
Starting from 1.12 docker version, the cluster swarm functionality has been natively added in docker. Now it’s possible to easy create docker swarm cluster where to start application containers stack. Every stack is a set of services related between them and every service is a docker container running in any node of the cluster. ..
Gluster is a distributed and scalable network file system developed in user space by FUSE (Filesystem in user space) to hook itself with VFS layer. It’s permit to scale to several petabytes handling thousands of clients. The gluster volumes are storage unit exportable formed by disk spaces called bricks distributed in different servers. The volumes data ..