Challenges in service discovery for microservices deployed in a Kubernetes cluster - a case study

被引:2
作者
Erdenebat, Baasanjargal [1 ]
Bud, Bayarjargal [2 ]
Kozsik, Tamas [1 ]
机构
[1] Eotvos Lorand Univ, Dept Programming Languages & Compilers, Budapest, Hungary
[2] Natl Univ Mongolia, Ulan Bator, Mongolia
来源
INFOCOMMUNICATIONS JOURNAL | 2023年 / 15卷
关键词
Microservice; container; service discovery; CoreDNS; Kubernetes;
D O I
10.36244/ICJ.2023.5.11
中图分类号
TN [电子技术、通信技术];
学科分类号
0809 ;
摘要
With Kubernetes emerging as one of the most popular infrastructures in the cloud-native era, the utilization of containerization and tools alongside Kubernetes is steadily gaining traction. The main goal of this paper is to evaluate the service discovery mechanisms and DNS management (CoreDNS) of Kubernetes, and to present a general study of an experiment on service discovery challenges. In large scale Kubernetes clusters, running pods, services, requests, and workloads can be substantial. The increased number of HTTP-requests often result in resource utilization concerns, e.g., spikes of errors [24], [25]. This paper investigates potential optimization strategies for enhancing the performance and scalability of CoreDNS in Kubernetes. We propose a solution to address the concerns related to CoreDNS and provide a detailed explanation of how our implementation enhances service discovery functionality. Experimental results in a real-world case show that our solution for the CoreDNS ensures consistency of the workload. Compared with the default CoreDNS configuration, our customized approach achieves better performance in terms of number of errors for requests, average latency of DNS requests, and resource usage rate.
引用
收藏
页码:69 / 75
页数:7
相关论文
empty
未找到相关数据