Optimizing Kubernetes Scheduling for Web Applications Using Machine Learning
Machine learning (ML) has significantly enhanced computing and optimization, offering solutions to complex challenges. This paper investigates the development of a custom Kubernetes scheduler employing ML to optimize web application placement. A cluster of five nodes was established for evaluation, utilizing Python and TensorFlow to create and train a neural network that forecasts scheduling times for various configurations. The dataset, generated via scripts, encompassed multiple scenarios to ensure thorough model training. The results indicate that the custom scheduler with ML consistently surpasses the default Kubernetes scheduler in scheduling time by 1–18%, depending on the scenario. As expected, the difference between the built-in and ML-based scheduler becomes more evident with higher loads, underscoring opportunities for future research by using other ML algorithms and considering energy efficiency.
Authors
- Vedran Dakić (ORCID: https://orcid.org/0000-0001-8638-6044)
- Jasmin Redžepagić
- Goran Đambić (ORCID: https://orcid.org/0000-0001-5790-7701)
- Jurica Slovinac
Institutions
- Algebra Bernays University (HR)
Publication Details
- Journal
- Electronics
- Published
- 2025-02-21
- DOI
- https://doi.org/10.3390/electronics14050863
- Citations
- 2
- Primary Topic
- Distributed and Parallel Computing Systems
- Type
- article
- Field-Weighted Citation Impact
- 2.97