Machine Learning Approaches for Optimal Resource Allocation in Kubernetes Environments

Authors

  • Sandeep Kumar Dasa  Independent Researcher, USA
  • Phani Monogya Katikireddi  Independent Researcher, USA
  • Sandeep Belidhe  Independent Researcher, USA

Keywords:

Tags Kubernetes, Resource Allocation, Machine Learning (ML), Dynamic Scaling, Container Orchestration, Predictive Resource Management, Auto-scaling, Cloud-native Applications, Real-time Workload Management, Reinforcement Learning, Cost Optimization, Adaptive resource allocation, Distributed Cloud Environment, Microservices Architecture, Workload Prediction

Abstract

Cloud-native applications have become more sophisticated and elaborate, making the resource management problem critical. Automated scaling is inherent to Kubernetes, one of the most used container orchestration solutions; however, it cannot overcome the challenges related to rule-based resource management in front of unpredictable workloads. This work presents machine learning (ML) techniques for dynamic and proactive resource management in Kubernetes deployments. Compared to the traditional process, ML with techniques like reinforcement learning or advanced workload prediction, Kubernetes can more effectively avoid extra resource allocation in real-time, reducing operation expenditures and improving system availability. In the confined virtual environment and a comparative study of the CPU, memory, latency, and overall efficiency of an ML-driven resource allocation system with traditional management mechanisms in probabilistic simulated scenarios, this study has demonstrated the advantages of the proposed solution. Furthermore, some of the problems inherent when applying ML in Kubernetes, issues with the quality of data and its scaling, and the question of the accuracy of predictions are also introduced together with their possible solutions. The results show that the proposed ML-based approach to resource management can produce a substantial performance boost in cloud-native applications and enhance Kubernetes environments' performance and cost-efficiency.

References

  1. Bannon, D., Moen, E., Schwartz, M., Borba, E., Cui, S., Huang, K., ... & Van Valen, D. (2018). Dynamic allocation of computational resources for deep learning-enabled cellular image analysis with Kubernetes. BioRxiv, 505032. https://www.biorxiv.org/content/biorxiv/early/2020/09/16/505032.full.pdf
  2. Jangampeta, S., Mallreddy, S. R., & Padamati, J. R. (2021). Data Security: Safeguarding the Digital Lifeline in an Era of Growing Threats. International Journal for Innovative Engineering and Management Research, 10(4), 630-632.
  3. Singirikonda, P., Jaini, S., & Vasa, Y. (2021). Develop Solutions To Detect And Mitigate Data Quality Issues In ML Models. NVEO - Natural Volatiles & Essential Oils, 8(4), 16968–16973. https://doi.org/https://doi.org/10.53555/nveo.v8i4.5771 
  4. Vasa, Y. (2021). Develop Explainable AI (XAI) Solutions For Data Engineers. NVEO - Natural Volatiles & Essential Oils, 8(3), 425–432. https://doi.org/https://doi.org/10.53555/nveo.v8i3.5769 
  5. Singirikonda, P., Katikireddi, P. M., & Jaini, S. (2021). Cybersecurity In Devops: Integrating Data Privacy And Ai-Powered Threat Detection For Continuous Delivery. NVEO - Natural Volatiles & Essential Oils, 8(2), 215–216. https://doi.org/https://doi.org/10.53555/nveo.v8i2.5770
  6. Kilaru, N. B., & Cheemakurthi, S. K. M. (2021). Techniques For Feature Engineering To Improve Ml Model Accuracy. NVEO-NATURAL VOLATILES & ESSENTIAL OILS Journal| NVEO, 194-200.
  7. Vasa, Y., Jaini, S., & Singirikonda, P. (2021). Design Scalable Data Pipelines For Ai Applications. NVEO - Natural Volatiles & Essential Oils, 8(1), 215–221. https://doi.org/https://doi.org/10.53555/nveo.v8i1.5772 
  8. Sukender Reddy Mallreddy(2020).Cloud Data Security: Identifying Challenges and Implementing Solutions.JournalforEducators,TeachersandTrainers,Vol.11(1).96 -102.
  9. Surya, R. Y., & Kistijantoro, A. I. (2019, November). Dynamic resource allocation for
  10. Venkateswaran, S., & Sarkar, S. (2019). Fitness-aware containerization service leveraging machine learning. IEEE Transactions on Services Computing, 14(6), 1751-1764.
  11. Zhao, A., Huang, Q., Huang, Y., Zou, L., Chen, Z., & Song, J. (2019, July). Research on resource prediction model based on kubernetes container auto-scaling technology. In IOP Conference Series: Materials Science and Engineering (Vol. 569, No. 5, p. 052092). IOP Publishing. https://iopscience.iop.org/article/10.1088/1757-899X/569/5/052092/pdf
  12. Zheng, W., Tynes, M., Gorelick, H., Mao, Y., Cheng, L., & Hou, Y. (2019, August). Flowcon: Elastic flow configuration for containerized deep learning applications. In Proceedings of the 48th International Conference on Parallel Processing (pp. 1-10). https://doras.dcu.ie/24290/1/main.pdf

Downloads

Published

2021-05-13

Issue

Section

Research Articles

How to Cite

[1]
Sandeep Kumar Dasa, Phani Monogya Katikireddi, Sandeep Belidhe "Machine Learning Approaches for Optimal Resource Allocation in Kubernetes Environments" International Journal of Scientific Research in Science and Technology(IJSRST), Online ISSN : 2395-602X, Print ISSN : 2395-6011,Volume 8, Issue 3, pp.1108-1114, May-June-2021.