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 条
  • [41] Design of a Volterra series-based nonlinear compensator
    Kim, JY
    Cho, KY
    Kim, YN
    Chung, JH
    Nam, SW
    PROCEEDINGS OF THE IEEE SIGNAL PROCESSING WORKSHOP ON HIGHER-ORDER STATISTICS, 1997, : 127 - 131
  • [42] A Fourier Series-Based Anomaly Extraction Approach to Access Network Traffic in Power Telecommunications
    Zhao, Honghao
    Lu, Bin
    Yu, Liangliang
    Zhao, Siwen
    Zeng, Lingkang
    Zhang, Zhe
    You, Ping
    2017 INTERNATIONAL CONFERENCE ON COMPUTER SYSTEMS, ELECTRONICS AND CONTROL (ICCSEC), 2017, : 550 - 553
  • [43] Time series-based classifier fusion for fine-grained plant species recognition
    Faria, Fabio A.
    Almeida, Jurandy
    Alberton, Bruna
    Morellato, Leonor Patricia C.
    Rocha, Anderson
    Torres, Ricardo da S.
    PATTERN RECOGNITION LETTERS, 2016, 81 : 101 - 109
  • [44] Time series-based workload prediction using the statistical hybrid model for the cloud environment
    Devi, K. Lalitha
    Valli, S.
    COMPUTING, 2023, 105 (02) : 353 - 374
  • [45] MTEDS: Multivariant Time Series-Based Encoder-Decoder System for Anomaly Detection
    Reyana, A.
    Kautish, Sandeep
    Yahia, I. S.
    Mohamed, Ali Wagdy
    COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2022, 2022
  • [46] Fourier series-based approximation of time-varying parameters in ordinary differential equations
    Fitzpatrick, Anna
    Folino, Molly
    Arnold, Andrea
    INVERSE PROBLEMS, 2024, 40 (03)
  • [47] Individualized time series-based assessment of melatonin effects on blood pressure:: Model for pediatricians
    Zaslavskaya, RM
    Makarova, LA
    Shakarova, AN
    Komarov, F
    Wang, ZR
    Wan, C
    Katinas, G
    Cornélissen, G
    Halberg, F
    NEUROENDOCRINOLOGY LETTERS, 2003, 24 : 238 - 246
  • [48] Investigation of time series-based genre popularity features for box office success prediction
    Shahid, Muzammil Hussain
    Islam, Muhammad Arshad
    PEERJ COMPUTER SCIENCE, 2023, 9
  • [49] Explainable neural network for time series-based condition monitoring in sheet metal shearing
    Becker, Marco
    Niemietz, Philipp
    Bergs, Thomas
    JOURNAL OF INTELLIGENT MANUFACTURING, 2025,
  • [50] Time series-based localized predictive resource reservation for handoff in multimedia wireless networks
    van den Berg, E
    Zhang, T
    Chennikara, J
    Agrawal, P
    Kodama, T
    2001 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS, VOLS 1-10, CONFERENCE RECORD, 2001, : 346 - 350