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] 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
  • [2] Time series-based workload prediction using the statistical hybrid model for the cloud environment
    K. Lalitha Devi
    S. Valli
    Computing, 2023, 105 : 353 - 374
  • [3] A time series-based statistical approach for outbreak spread forecasting: Application of COVID-19 in Greece
    Katris, Christos
    EXPERT SYSTEMS WITH APPLICATIONS, 2021, 166
  • [4] Investigation of time series-based genre popularity features for box office success prediction
    Shahid, Muzammil Hussain
    Islam, Muhammad Arshad
    PEERJ COMPUTER SCIENCE, 2023, 9
  • [5] Multi-Step-Ahead Time Series Forecasting using Deep Learning and Fuzzy Time Series-based Error Correction Method
    Bhanja, Samit
    Ghose, Banani
    Das, Abhishek
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2024, 30 (11) : 1569 - 1594
  • [6] Adaptive AI-based auto-scaling for Kubernetes
    Toka, Laszlo
    Dobreff, Gergely
    Fodor, Balazs
    Sonkoly, Balazs
    2020 20TH IEEE/ACM INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND INTERNET COMPUTING (CCGRID 2020), 2020, : 599 - 608
  • [7] Machine Learning-Based Scaling Management for Kubernetes Edge Clusters
    Toka, Laszlo
    Dobreff, Gergely
    Fodor, Balazs
    Sonkoly, Balazs
    IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, 2021, 18 (01): : 958 - 972
  • [8] An Evaluation of Time Series-Based Modeling and Forecasting of Infectious Diseases Progression using Statistical Versus Compartmental Methods
    El-Din Saad, Noha Gamal
    Ghoniemy, Samy
    Faheem, Hossam
    Seada, Noha A.
    5TH INTERNATIONAL CONFERENCE ON COMPUTING AND INFORMATICS (ICCI 2022), 2022, : 263 - 273
  • [9] Time series forecasting-based Kubernetes autoscaling using Facebook Prophet and Long Short-Term Memory
    Guruge, Pasan Bhanu
    Priyadarshana, Y. H. P. P.
    FRONTIERS IN COMPUTER SCIENCE, 2025, 7
  • [10] A Proactive Cloud Scaling Model Based on Fuzzy Time Series and SLA Awareness
    Dang Tran
    Nhuan Tran
    Giang Nguyen
    Binh Minh Nguyen
    INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE (ICCS 2017), 2017, 108 : 365 - 374