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] Scale-oriented temporal analysis of movement data: A series-based approach
    Zhang, Pengdong
    Van de Weghe, Nico
    TRANSACTIONS IN GIS, 2023, 27 (08) : 2234 - 2251
  • [32] Time Series-based Deep Learning model for Personal Thermal Comfort Prediction
    Chennapragada, Aniruddh
    Periyakoil, Divya
    Das, Hari Prasanna
    Spanos, Costas J.
    PROCEEDINGS OF THE 2022 THE THIRTEENTH ACM INTERNATIONAL CONFERENCE ON FUTURE ENERGY SYSTEMS, E-ENERGY 2022, 2022, : 552 - 555
  • [33] Experimental Study of Time Series-based Dataset Selection for Effective Text Classification
    Chae, Yeonghun
    Jeong, Do-Heon
    Kim, Taehong
    2017 9TH INTERNATIONAL CONFERENCE ON KNOWLEDGE AND SMART TECHNOLOGY (KST), 2017, : 354 - 358
  • [34] Dynamic scaling approach to study time series fluctuations
    Balankin, Alexander S.
    PHYSICAL REVIEW E, 2007, 76 (05):
  • [35] Time series-based SHM using PCA with application to ASCE benchmark structure
    Kundan Kumar
    Prabir Kumar Biswas
    Nirjhar Dhang
    Journal of Civil Structural Health Monitoring, 2020, 10 : 899 - 911
  • [36] Time series-based SHM using PCA with application to ASCE benchmark structure
    Kumar, Kundan
    Biswas, Prabir Kumar
    Dhang, Nirjhar
    JOURNAL OF CIVIL STRUCTURAL HEALTH MONITORING, 2020, 10 (05) : 899 - 911
  • [37] Prediction for Chaotic Time Series-Based AE-CNN and Transfer Learning
    Xin, Baogui
    Peng, Wei
    COMPLEXITY, 2020, 2020 (2020)
  • [38] MULTI-DIMENSIONAL TIME SERIES-BASED APPLICATION SERVER AGING MODEL
    Xu, Wen-Bin
    Qi, Yong
    Hou, Di
    PROCEEDINGS OF THE 2010 INTERNATIONAL CONFERENCE ON WAVELET ANALYSIS AND PATTERN RECOGNITION, 2010, : 238 - 243
  • [39] An Auto Scaling System for API Gateway Based on Kubernetes
    Song, Meina
    Zhang, Chengcheng
    Haihong, E.
    PROCEEDINGS OF 2018 IEEE 9TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE (ICSESS), 2018, : 109 - 112
  • [40] AI-Driven Device Fingerprinting Using On-Chip Monitoring Sensors: A Novel Time Series-Based Approach
    Ramos, Alberto
    Camara, Carmen
    Martin, Honorio
    Peris-Lopez, Pedro
    IEEE SENSORS JOURNAL, 2025, 25 (07) : 12064 - 12075