A Time Series-Based Approach to Elastic Kubernetes Scaling

被引:3
|
作者
Yuan, Haibin [1 ]
Liao, Shengchen [1 ]
机构
[1] Beihang Univ, Sch Automat Sci & Elect Engn, Beijing 100191, Peoples R China
关键词
time series forecasting; Kubernetes; cloud computing; cloud native; predictive scaling;
D O I
10.3390/electronics13020285
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
With the increasing popularity of cloud-native architectures and containerized applications, Kubernetes has become a critical platform for managing these applications. However, Kubernetes still faces challenges when it comes to resource management. Specifically, the platform cannot achieve timely scaling of the resources of applications when their workloads fluctuate, leading to insufficient resource allocation and potential service disruptions. To address this challenge, this study proposes a predictive auto-scaling Kubernetes Operator based on time series forecasting algorithms, aiming to dynamically adjust the number of running instances in the cluster to optimize resource management. In this study, the Holt-Winter forecasting method and the Gated Recurrent Unit (GRU) neural network, two robust time series forecasting algorithms, are employed and dynamically managed. To evaluate the effectiveness, we collected workload metrics from a deployed RESTful HTTP application, implemented predictive auto-scaling, and assessed the differences in service quality before and after the implementation. The experimental results demonstrate that the predictive auto-scaling component can accurately predict the future trend of the metrics and intelligently scale resources based on the prediction results, with a Mean Squared Error (MSE) of 0.00166. Compared to the deployment using a single algorithm, the cold start time is reduced by 1 h and 41 min, and the fluctuation in service quality is reduced by 83.3%. This process effectively enhances the quality of service and offers a novel solution for resource management in Kubernetes clusters.
引用
收藏
页数:16
相关论文
共 50 条
  • [21] A time series-based statistical approach for outbreak spread forecasting: Application of COVID-19 in Greece
    Katris, Christos
    EXPERT SYSTEMS WITH APPLICATIONS, 2021, 166
  • [22] Time Series-Based Photovoltaic Power Forecasting to Optimize Grid Stability
    Seshadri, Parthasarathy
    Perumaal, Bagavat T. S.
    Kumar, Ashok B.
    Keerthana, H.
    Kavinmathi, G.
    Senthilrani, S.
    ELECTRIC POWER COMPONENTS AND SYSTEMS, 2021, 49 (16-17) : 1379 - 1388
  • [23] Volterra Series-Based Time-Domain Macromodeling of Nonlinear Circuits
    Xiong, Xiaoyan Y. Z.
    Jiang, Li Jun
    Schutt-Aine, Jose E.
    Chew, Weng Cho
    IEEE TRANSACTIONS ON COMPONENTS PACKAGING AND MANUFACTURING TECHNOLOGY, 2017, 7 (01): : 39 - 49
  • [24] A Time Series-Based Dataset of Open-Source Software Evolution
    Sousa, Bruno L.
    Bigonha, Mariza A. S.
    Ferreira, Kecia A. M.
    Franco, Glaura C.
    2022 MINING SOFTWARE REPOSITORIES CONFERENCE (MSR 2022), 2022, : 702 - 706
  • [25] Time series-based Chinese basketball reserve talents cultivation research
    Geng, Yingui
    BioTechnology: An Indian Journal, 2014, 10 (09) : 3026 - 3034
  • [26] Time series-based detection and impact analysis of firmware attacks in microgrids
    Zografopoulos, Ioannis
    Kuruvila, Abraham Peedikayil
    Basu, Kanad
    Konstantinou, Charalambos
    ENERGY REPORTS, 2022, 8 : 11221 - 11234
  • [27] A time series-based method for predicting electricity demand in industrial parks
    Pan, Yurong
    Jia, Chaoyong
    International Journal of Energy Technology and Policy, 2025, 20 (1-2) : 95 - 109
  • [28] Creating Time Series-Based Metadata for Semantic IoT Web Services
    Apajalahti, Kasper
    DATABASE AND EXPERT SYSTEMS APPLICATIONS (DEXA 2018), PT II, 2018, 11030 : 417 - 427
  • [29] A Series-Based Deep Learning Approach to Lung Nodule Image Classification
    Balci, Mehmet Ali
    Batrancea, Larissa M.
    Akguller, Omer
    Nichita, Anca
    CANCERS, 2023, 15 (03)
  • [30] Fibonacci series-based multicast algorithm
    Gu, Nai-Jie
    Li, Wei
    Liu, Jing
    Jisuanji Xuebao/Chinese Journal of Computers, 2002, 25 (04): : 365 - 372