Loading

Load Balancing using Docker and Kubernetes: A Comparative Study
Prajval Mohan1, Tejas Jambhale2, Lakshya Sharma3, Simran Koul4, Simriti Koul5

1Prajval Mohan*, School of Computer Science and Engineering, Vellore Institute of Technology, Vellore, Tamil Nadu, India.
2Tejas Jambhale, School of Computer Science and Engineering, Vellore Institute of Technology, Vellore, Tamil Nadu, India.
3Lakshya Sharma, School of Computer Science and Engineering Vellore Institute of Technology, Vellore, Tamil Nadu, India.
4Simran Koul, School of Computer Science and Engineering, Vellore Institute of Technology, Vellore, Tamil Nadu, India.
5Simriti Koul, School of Computer Science and Engineering, Vellore Institute of Technology, Vellore, Tamil Nadu, India. 

Manuscript received on May 25, 2020. | Revised Manuscript received on June 29, 2020. | Manuscript published on July 30, 2020. | PP: 782-792 | Volume-9 Issue-2, July 2020. | Retrieval Number: B3938079220/2020©BEIESP | DOI: 10.35940/ijrte.B3938.079220
Open Access | Ethics and Policies | Cite | Mendeley
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)

Abstract: Still in its early years, containers are increasingly being used in production environments. Containers offer a streamlined approach, easy deployment, and secure method of implementing infrastructure requirements also provide a much-improved alternative to virtual machines. A load balancer is required to distribute traffic across clusters. And now, with multiple container environments becoming widespread, load balancers are becoming a necessity to distribute traffic and reduce server load. Different load balancing algorithms provide a solution to this with varying efficiency. This paper presents a study on the latest methods which are being implemented to perform effective load balancing on containers. Docker Swarm and Kubernetes are the most widely used systems for deploying and managing a cluster of containers in an environment. The paper further demonstrates how Docker Swarm and Kubernetes can be used to minimize load traffic through load balancing techniques. We have introduced load balancing and different algorithms. Also, we have shown the implementations of load balancing algorithms in Docker and Kubernetes and finally compared the results. The paper finally concludes why Kubernetes is often preferred over Docker Swarm for load balancing. 
Keywords: Docker, Docker Swarm, Kubernetes, Ingress, Load balancing, Node Port, Load Balancer, Nginx.