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 Neural Network Approach to Time Series Forecasting
    Gheyas, Iffat A.
    Smith, Leslie S.
    WORLD CONGRESS ON ENGINEERING 2009, VOLS I AND II, 2009, : 1292 - 1296
  • [22] A novel hybrid time series forecasting model based on neutrosophic-PSO approach
    Pritpal Singh
    International Journal of Machine Learning and Cybernetics, 2020, 11 : 1643 - 1658
  • [23] A novel hybrid time series forecasting model based on neutrosophic-PSO approach
    Singh, Pritpal
    INTERNATIONAL JOURNAL OF MACHINE LEARNING AND CYBERNETICS, 2020, 11 (08) : 1643 - 1658
  • [24] Hybrid Ensemble Deep Learning-Based Approach for Time Series Energy Prediction
    Phyo, Pyae Pyae
    Byun, Yung-Cheol
    SYMMETRY-BASEL, 2021, 13 (10):
  • [25] Maximum Visibility: A Novel Approach for Time Series Forecasting Based on Complex Network Theory
    De Souza Moreira, Filipe Rodrigues
    Neto Verri, Filipe Alves
    Yoneyama, Takashi
    IEEE ACCESS, 2022, 10 : 8960 - 8973
  • [26] A new approach based on association rules to add explainability to time series forecasting models
    Troncoso-Garcia, A. R.
    Martinez-Ballesteros, M.
    Martinez-Alvarez, F.
    Troncoso, A.
    INFORMATION FUSION, 2023, 94 : 169 - 180
  • [27] ETSA-LP: ENSEMBLE TIME-SERIES APPROACH FOR LOAD PREDICTION IN CLOUD
    Verma, Shveta
    Bala, Anju
    COMPUTING AND INFORMATICS, 2024, 43 (02) : 64 - 93
  • [28] A GENERAL APPROACH BASED ON AUTOCORRELATION TO DETERMINE INPUT VARIABLES OF NEURAL NETWORKS FOR TIME SERIES FORECASTING
    NAKAMORI
    Yoshiteru
    JournalofSystemsScienceandComplexity, 2004, (03) : 297 - 305
  • [29] An unbiased GM(1,1)-based new hybrid approach for time series forecasting
    Rathnayaka, R. M. Kapila Tharanga
    Seneviratna, D. M. K. N.
    Wei Jianguo
    Arumawadu, Hasitha Indika
    GREY SYSTEMS-THEORY AND APPLICATION, 2016, 6 (03) : 322 - 340
  • [30] Optimization enabled elastic scaling in cloud based on predicted load for resource management
    Trivedi, Naimisha Shashikant
    Panchal, Shailesh D.
    MULTIAGENT AND GRID SYSTEMS, 2023, 19 (04) : 289 - 311