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 条
  • [1] A time series-based approach for renewable energy modeling
    Hocaoglu, Fatih Onur
    Karanfil, Fatih
    RENEWABLE & SUSTAINABLE ENERGY REVIEWS, 2013, 28 : 204 - 214
  • [2] Novel Container Cloud Elastic Scaling Strategy based on Kubernetes
    He, Zhigang
    PROCEEDINGS OF 2020 IEEE 5TH INFORMATION TECHNOLOGY AND MECHATRONICS ENGINEERING CONFERENCE (ITOEC 2020), 2020, : 1400 - 1404
  • [3] Time series-based bifurcation diagram reconstruction
    Bagarinao, E
    Pakdaman, K
    Nomura, T
    Sato, S
    PHYSICA D, 1999, 130 (3-4): : 211 - 231
  • [4] A Fuzzy Time Series-Based Neural Network Approach to Option Price Forecasting
    Leu, Yungho
    Lee, Chien-Pang
    Hung, Chen-Chia
    INTELLIGENT INFORMATION AND DATABASE SYSTEMS, PT I, PROCEEDINGS, 2010, 5990 : 360 - 369
  • [5] Change patterns of time series-based control charts
    Hu, SJ
    Roan, C
    JOURNAL OF QUALITY TECHNOLOGY, 1996, 28 (03) : 302 - 312
  • [6] A Time-Power Series-Based Semi-Analytical Approach for Power System Simulation
    Wang, Bin
    Duan, Nan
    Sun, Kai
    IEEE TRANSACTIONS ON POWER SYSTEMS, 2019, 34 (02) : 841 - 851
  • [7] Time Series-based Driving Event Recognition for Two Wheelers
    Goparaju, Sai Usha Nagasri
    Lakshmanan, L.
    Abhinav, N.
    Rahul, B.
    Lovish, B.
    Gangadharan, Deepak
    Hussain, Aftab M.
    2023 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, DATE, 2023,
  • [8] Time Series-Based GHG Emissions Prediction for Smart Homes
    Riekstin, Ana Carolina
    Langevin, Antoine
    Dandres, Thomas
    Gagnon, Ghyslain
    Cheriet, Mohamed
    IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, 2020, 5 (01): : 134 - 146
  • [9] Time series-based bibliometric analysis of the dynamics of scientific production
    Monroy, Sonia E.
    Diaz, Hernando
    SCIENTOMETRICS, 2018, 115 (03) : 1139 - 1159
  • [10] Series-based approximate approach of optimal tracking control for nonlinear systems with time-delay
    Gongyou Tang~a Mingqu Fan~(a
    ProgressinNaturalScience, 2008, (12) : 1571 - 1576