Article Open Access

Kubernetes-Native Orchestration for Real-Time Machine Learning Inferencing

Hemanth Kumar Padakanti

Abstract


Machine learning inference requires serving infrastructure that can maintain responsiveness, reliability, and prediction quality under variable request loads. Conventional Kubernetes orchestration does not fully address inference-specific characteristics, including multi-minute pod startup times, non-oversubscribable accelerators, highly variable per-request computational costs, and prediction-quality degradation that can occur without infrastructure failures. This article develops a Kubernetes-native architecture for reliable and responsive model serving by examining these characteristics and mapping them to dedicated infrastructure mechanisms. The approach integrates queue- or concurrency-based autoscaling, topology-aware GPU scheduling, warm-capacity buffering, readiness gating based on completed model warmup, request batching, independent infrastructure and model observability, and controlled rollout strategies. The resulting architecture establishes separate operational controls for infrastructure responsiveness and prediction-quality assurance, reducing dependence on CPU utilization as the primary scaling indicator. The analysis also identifies operational constraints for models that exceed single-device memory, workloads requiring shared GPU cost attribution, and services dominated by unavoidable cold-start latency. These findings indicate that effective inference infrastructure requires orchestration policies tailored to the computational and operational properties of model serving rather than generic container workloads. The proposed architecture provides a structured basis for deploying scalable inference services while explicitly accounting for startup latency, accelerator constraints, workload variability, and silent prediction degradation. Its applicability remains bounded by model size, accelerator topology, workload characteristics, and the economic requirements of the deployment environment. The architecture, therefore, supports a more explicit alignment between Kubernetes orchestration decisions and the distinctive resource, performance, and reliability requirements of machine learning inference across production environments with heterogeneous models, accelerators, and service-level performance requirements and deployment conditions


Keywords


GPU Autoscaling, Kubernetes Orchestration, Machine Learning Observability, Model Serving, Real-Time Inference

References


Kreuzberger, D., Kühl, N., & Hirschl, S. (2023). Machine learning operations (MLOps): Overview, definition, and architecture. IEEE Access, 11, 31866–31879. https://doi.org/10.1109/ACCESS.2023.3262138

Varghese, B., & Buyya, R. (2018). Next generation cloud computing: New trends and research directions. Future Generation Computer Systems, 79, 849–861. https://doi.org/10.1016/j.future.2017.09.020

Katal, A., Dahiya, S., & Choudhury, T. (2023). Energy efficiency in cloud computing data centers: A survey on software technologies. Cluster Computing, 26(3), 1845–1875. https://doi.org/10.1007/s10586-022-03713-0

Abdullah, M., Iqbal, W., Berral, J. L., Polo, J., & Carrera, D. (2022). Burst-aware predictive autoscaling for containerized microservices. IEEE Transactions on Services Computing, 15(3), 1448–1460. https://doi.org/10.1109/TSC.2020.2995937

Chen, T., Bahsoon, R., & Yao, X. (2018). A survey and taxonomy of self-aware and self-adaptive cloud autoscaling systems. ACM Computing Surveys, 51(3), 1–40. https://doi.org/10.1145/3190507

Gama, J., Žliobait?, I., Bifet, A., Pechenizkiy, M., & Bouchachia, A. (2014). A survey on concept drift adaptation. ACM Computing Surveys, 46(4), 1–37. https://doi.org/10.1145/2523813

Bayram, F., Ahmed, B. S., & Kassler, A. (2022). From concept drift to model degradation: An overview on performance-aware drift detectors. Knowledge-Based Systems, 245, 108632. https://doi.org/10.1016/j.knosys.2022.108632

Hüllermeier, E., & Waegeman, W. (2021). Aleatoric and epistemic uncertainty in machine learning: An introduction to concepts and methods. Machine Learning, 110(3), 457–506. https://doi.org/10.1007/s10994-021-05946-3

Senjab, K., Abbas, S., Ahmed, N., & Khan, A. U. R. (2023). A survey of Kubernetes scheduling algorithms. Journal of Cloud Computing, 12, 87. https://doi.org/10.1186/s13677-023-00471-1

Ahmad, I., AlFailakawi, M., AlMutawa, A., & Alsalman, L. (2022). Container scheduling techniques: A survey and assessment. Journal of King Saud University - Computer and Information Sciences, 34(7), 3934–3947. https://doi.org/10.1016/j.jksuci.2021.03.002

Zhou, N., Georgiou, Y., Pospieszny, M., et al. (2021). Container orchestration on HPC systems through Kubernetes. Journal of Cloud Computing, 10, 5. https://doi.org/10.1186/s13677-021-00231-z

Quattrocchi, G., Incerto, E., Pinciroli, R., Trubiani, C., & Baresi, L. (2024). Autoscaling solutions for cloud applications under dynamic workloads. IEEE Transactions on Services Computing, 17(3), 804–820. https://doi.org/10.1109/TSC.2024.3354062

Ye, Z., Gao, W., Hu, Q., et al. (2024). Deep learning workload scheduling in GPU datacenters: A survey. ACM Computing Surveys, 56(6), 1–38. https://doi.org/10.1145/3638757

Zhou, Z., Ning, X., Hong, K., et al. (2024). A survey on efficient inference for large language models. IEEE Transactions on Big Data. https://doi.org/10.1109/TBDATA.2024.3451116

Lu, J., Liu, A., Dong, F., Gu, F., Gama, J., & Zhang, G. (2018). Learning under concept drift: A review. IEEE Transactions on Knowledge and Data Engineering, 31(12), 2346–2363. https://doi.org/10.1109/TKDE.2018.2876857

Hindman, B., Konwinski, A., Zaharia, M., Ghodsi, A., Joseph, A. D., Katz, R., Shenker, S., & Stoica, I. (2011). Mesos: A platform for fine-grained resource sharing in the data center. Proceedings of the 8th USENIX Symposium on Networked Systems Design and Implementation (NSDI '11), 295–308. https://doi.org/10.5555/1972457.1972488

Schwarzkopf, M., Konwinski, A., Abd-El-Malek, M., & Wilkes, J. (2013). Omega: Flexible, scalable schedulers for large compute clusters. Proceedings of the 8th ACM European Conference on Computer Systems (EuroSys '13), 351–364. https://doi.org/10.1145/2465351.2465386

Verma, A., Pedrosa, L., Korupolu, M., Oppenheimer, D., Tune, E., & Wilkes, J. (2015). Large-scale cluster management at Google with Borg. Proceedings of the 10th ACM European Conference on Computer Systems (EuroSys '15), Article 18. https://doi.org/10.1145/2741948.2741964

Tirmazi, M., Barker, A., Deng, N., Haque, M. E., Qin, Z. G., Hand, S., Harchol-Balter, M., & Wilkes, J. (2020). Borg: The next generation. Proceedings of the 15th ACM European Conference on Computer Systems (EuroSys '20), Article 30, 1–14. https://doi.org/10.1145/3342195.3387517

Burroughs, S., Dickel, H., Van Zijl, M., Podolskiy, V., et al. (2021). Towards autoscaling with guarantees on Kubernetes clusters. Proceedings of the 2nd IEEE International Conference on Autonomic Computing and Self-Organizing Systems Companion (ACSOS-C). https://doi.org/10.1109/ACSOS-C52956.2021.00073

Agos Jawaddi, S. N., Ismail, A., & Sulaiman, M. S. (2025). Analyzing energy-efficient and Kubernetes-based autoscaling of microservices using probabilistic model checking. Journal of Grid Computing, 23(1), Article 3. https://doi.org/10.1007/s10723-024-09789-9

Miao, X., Oliaro, G., Zhang, Z., Cheng, X., Jin, H., Chen, T., & Jia, Z. (2025). Towards efficient generative large language model serving: A survey from algorithms to systems. ACM Computing Surveys, 58(1), Article 15, 1–37. https://doi.org/10.1145/3754448

Xiao, W., Bhardwaj, R., Ramjee, R., Sivathanu, M., Kwatra, N., Han, Z., Patel, P., Peng, X., Zhao, H., Zhang, Q., Yang, F., & Zhou, L. (2018). Gandiva: Introspective cluster scheduling for deep learning. Proceedings of the 13th USENIX Symposium on Operating Systems Design and Implementation (OSDI '18), 595–610. https://www.usenix.org/conference/osdi18/presentation/xiao

Kore, A., Abbasi Bavil, E., Subasri, V., Abdalla, M., Fine, B., Dolatabadi, E., & Abdalla, M. (2024). Empirical data drift detection experiments on real-world medical imaging data. Nature Communications, 15, Article 1887. https://doi.org/10.1038/s41467-024-46142-w

Liu, A., Lu, J., Song, Y., Xuan, J., & Zhang, G. (2023). Concept drift detection delay index. IEEE Transactions on Knowledge and Data Engineering, 35(5), 4585–4597. https://doi.org/10.1109/TKDE.2022.3153349

A. Rubak and J. Taheri, "Machine Learning for Predictive Resource Scaling of Microservices on Kubernetes Platforms," in Proceedings of the IEEE/ACM 16th International Conference on Utility and Cloud Computing (UCC' 23), 2023, pp. 1–8. https://doi.org/10.1145/3603166.3632165.

J. Gu, P. Wang, I. D. Núñez Araya, K. Huang, and M. Gerndt, "HAS-GPU: Efficient Hybrid Auto-scaling with Fine-Grained GPU Allocation for SLO-Aware Serverless Inferences," in Euro-Par 2025: Parallel Processing, Lecture Notes in Computer Science, vol. 15900, pp. 159–174, 2026. https://doi.org/10.1007/978-3-031-99854-6_11.

Y. Wang and J. Zhao, "A Unified and Resource-Aware Framework for Adaptive Inference Acceleration on Edge and Embedded Platforms," Electronics, vol. 14, no. 11, p. 2188, 2025. https://doi.org/10.3390/electronics14112188.

J.-X. Liao, J. Peng, Z. Zhou, and F. Xu, "Duba: Cost-Efficient Serverless Cloud-Edge Collaborative Machine Learning Serving with Dual-Batching," Journal of Computer Science and Technology, vol. 41, no. 2, pp. 494–505, 2026. https://doi.org/10.1007/s11390-025-5623-5.

T. A. Kustitskaya, R. V. Esin, and M. V. Noskov, "Model Drift in Deployed Machine Learning Models for Predicting Learning Success," Computers, vol. 14, no. 9, p. 351, 2025. https://doi.org/10.3390/computers14090351.

M. Lindon, C. Sanden, and V. Shirikian, "Rapid Regression Detection in Software Deployments through Sequential Testing," in Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD' 22), 2022. https://doi.org/10.1145/3534678.3539099.




DOI: https://doi.org/10.52088/ijesty.v6i4.2061

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Hemanth Kumar Padakanti

International Journal of Engineering, Science, and Information Technology (IJESTY) eISSN 2775-2674