Skip to Content
Future InternetFuture Internet
  • Article
  • Open Access

2 September 2024

20 Pages

Application of Fuzzy Logic for Horizontal Scaling in Kubernetes Environments within the Context of Edge Computing

,
,
and
1
InovAI Lab, nPITI/IMD, Federal University of Rio Grande do Norte (UFRN), Natal 59078-970, RN, Brazil
2
Leading Advanced Technologies Center of Excellence (LANCE), nPITI/IMD, Federal University of Rio Grande do Norte (UFRN), Natal 59078-970, RN, Brazil
3
Federal Institute of Education, Science and Technology of Rio Grande do Norte, Paraiso, Santa Cruz 59200-000, RN, Brazil
4
Department of Computer and Automation Engineering, Federal University of Rio Grande do Norte, Natal 59078-970, RN, Brazil

Abstract

This paper presents a fuzzy logic-based approach for replica scaling in a Kubernetes environment, focusing on integrating Edge Computing. The proposed FHS (Fuzzy-based Horizontal Scaling) system was compared to the standard Kubernetes scaling mechanism, HPA (Horizontal Pod Autoscaler). The comparison considered resource consumption, the number of replicas used, and adherence to latency Service-Level Agreements (SLAs). The experiments were conducted in an environment simulating Edge Computing infrastructure, with virtual machines used to represent edge nodes and traffic generated via JMeter. The results demonstrate that FHS achieves a reduction in CPU consumption, uses fewer replicas under the same stress conditions, and exhibits more distributed SLA latency violation rates compared to HPA. These results indicate that FHS offers a more efficient and customizable solution for replica scaling in Kubernetes within Edge Computing environments, contributing to both operational efficiency and service quality.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.