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 条
  • [31] GATE: A guided approach for time series ensemble forecasting
    Sarkar, Md. Rasel
    Anavatti, Sreenatha G.
    Dam, Tanmoy
    Ferdaus, Md. Meftahul
    Tahtali, Murat
    Ramasamy, Savitha
    Pratama, Mahardhika
    EXPERT SYSTEMS WITH APPLICATIONS, 2024, 235
  • [32] Functional Methods for Time Series Prediction: A Nonparametric Approach
    Aneiros-Perez, German
    Cao, Ricardo
    Vilar-Fernandez, Juan M.
    JOURNAL OF FORECASTING, 2011, 30 (04) : 377 - 392
  • [33] A perturbative approach for enhancing the performance of time series forecasting
    de Mattos Neto, Paulo S. G.
    Ferreira, Tiago A. E.
    Lima, Aranildo R.
    Vasconcelos, Germano C.
    Cavalcanti, George D. C.
    NEURAL NETWORKS, 2017, 88 : 114 - 124
  • [34] Employing stacked ensemble approach for time series forecasting
    Sharma N.
    Mangla M.
    Mohanty S.N.
    Pattanaik C.R.
    International Journal of Information Technology, 2021, 13 (5) : 2075 - 2080
  • [35] Automatic-Generation and Optimization of Elastic Scaling Rules Based on Neural Network
    Wu Daqin
    Wang Shanshan
    PROCEEDINGS OF THE 2015 INTERNATIONAL SYMPOSIUM ON COMPUTERS & INFORMATICS, 2015, 13 : 587 - 593
  • [36] A new ARIMA-based neuro-fuzzy approach and swarm intelligence for time series forecasting
    Li, Chunshien
    Hu, Jhao-Wun
    ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2012, 25 (02) : 295 - 308
  • [37] A distance correlation-based approach to characterize the effectiveness of recurrent neural networks for time series forecasting
    Salazar, Christopher
    Banerjee, Ashis G.
    NEUROCOMPUTING, 2025, 629
  • [38] Elastic Load Balancing for Dynamic Virtual Machine Reconfiguration Based on Vertical and Horizontal Scaling
    Sotiriadis, Stelios
    Bessis, Nik
    Amza, Cristiana
    Buyya, Rajkumar
    IEEE TRANSACTIONS ON SERVICES COMPUTING, 2019, 12 (02) : 319 - 334
  • [39] Time Series Prediction Based on Machine Learning
    Jiang, Q. Y.
    PROCEEDINGS OF THE 2015 INTERNATIONAL CONFERENCE ON ELECTRICAL, AUTOMATION AND MECHANICAL ENGINEERING (EAME 2015), 2015, 13 : 128 - 129
  • [40] Time Series Forecasting Based on Weighted Clustering
    Lee, Chie-Hong
    Su, Yann-Yean
    Lin, Yu-Chun
    Lee, Shie-Jue
    2017 2ND IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND APPLICATIONS (ICCIA), 2017, : 421 - 425