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] Cost-efficient auto-scaling of container-based elastic processes
    Sheganaku, Gerta
    Schulte, Stefan
    Waibel, Philipp
    Weber, Ingo
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2023, 138 : 296 - 312
  • [42] A neural network based time series forecasting
    Jana, PK
    PROCEEDINGS OF INTERNATIONAL CONFERENCE ON INTELLIGENT SENSING AND INFORMATION PROCESSING, 2004, : 329 - 331
  • [43] A BRS Based Approach for Modeling Elastic Cloud Systems
    Khebbeb, Khaled
    Sahli, Hamza
    Hameurlain, Nabil
    Belala, Faiza
    SERVICE-ORIENTED COMPUTING - ICSOC 2017 WORKSHOPS, 2018, 10797 : 5 - 17
  • [44] Time Series Forecasting Based on Convolution Transformer
    Wang, Na
    Zhao, Xianglian
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2023, E106D (05) : 976 - 985
  • [45] Bayesian analysis of time series using granular computing approach
    Hryniewicz, Olgierd
    Kaczmarek, Katarzyna
    APPLIED SOFT COMPUTING, 2016, 47 : 644 - 652
  • [46] Time Series Forecasting Through a Dynamic Weighted Ensemble Approach
    Adhikari, Ratnadip
    Verma, Ghanshyam
    PROCEEDINGS OF 3RD INTERNATIONAL CONFERENCE ON ADVANCED COMPUTING, NETWORKING AND INFORMATICS (ICACNI 2015), VOL 1, 2016, 43 : 455 - 465
  • [47] ShapTime: A General XAI Approach for Explainable Time Series Forecasting
    Zhang, Yuyi
    Sun, Qiushi
    Qi, Dongfang
    Liu, Jing
    Ma, Ruimin
    Petrosian, Ovanes
    INTELLIGENT SYSTEMS AND APPLICATIONS, VOL 1, INTELLISYS 2023, 2024, 822 : 659 - 673
  • [48] Visual Time Series Forecasting: An Image-driven Approach
    Sood, Srijan
    Zeng, Zhen
    Cohen, Naftali
    Balch, Tucker
    Veloso, Manuela
    ICAIF 2021: THE SECOND ACM INTERNATIONAL CONFERENCE ON AI IN FINANCE, 2021,
  • [49] An approach for evolving neuro-fuzzy forecasting of time series based on parallel recursive singular spectrum analysis
    Rodrigues Junior, Selmo Eduardo
    Serra, Ginalber Luiz de Oliveira
    FUZZY SETS AND SYSTEMS, 2022, 443 : 1 - 29
  • [50] An approach for evolving neuro-fuzzy forecasting of time series based on parallel recursive singular spectrum analysis
    Rodrigues Junior, Selmo Eduardo
    de Oliveira Serra, Ginalber Luiz
    FUZZY SETS AND SYSTEMS, 2022, 443 : 1 - 29