Future Internet (Sep 2024)

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

  • Sérgio N. Silva,
  • Mateus A. S. de S. Goldbarg,
  • Lucileide M. D. da Silva,
  • Marcelo A. C. Fernandes

DOI
https://doi.org/10.3390/fi16090316
Journal volume & issue
Vol. 16, no. 9
p. 316

Abstract

Read online

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.

Keywords