Method of Granular Analysis of Shared Resource Utilization in a Kubernetes Cluster
DOI:
https://doi.org/10.31861/sisiot2025.2.02001Keywords:
Kubernetes, resources optimization, containerization, analysis of resources usage, clusterizationAbstract
In modern computing environments, the Kubernetes platform has become the standard for automated deployment, scaling, and management of containerized applications. With the growing popularity of Kubernetes worldwide, there is an increasing need for accurate and efficient analysis of resource consumption. This is critically important to ensure stable performance, optimal infrastructure utilization, and economically justified capacity planning. However, resource management in Kubernetes is complicated by the dynamic nature of workloads and the interdependence of applications operating within a shared environment. The discovery establishes initial conditions for the analysis, considering the main types of resources: processor, random-access memory, disk space, and network traffic. For each resource, weighting coefficients are defined that reflect its relative importance in the context of different task executions. Additionally, each resource is divided into four states: allocated, reserved, utilized, and free. Such a division allows for a more detailed picture of the actual state of infrastructure usage and supports decision-making based on both technical and economic efficiency. The primary model focuses on evaluating the resource consumption of a single application at a specific point in time. Within this model, the relationship between reserved and actually utilized resources is examined, enabling the identification of excessive reservation or, conversely, insufficient provisioning. The model forms the foundation for a basic understanding of the application's behavior in the cluster and allows for initial diagnostics of inefficiencies. Further model refinement incorporates changes in resource usage over time. The behavior of a single application is analyzed throughout a specified period, which opens the possibility to identify long-term trends, gradual resource leakage, peak loads, or uneven consumption. This approach significantly improves the accuracy of assessing application performance and supports informed decisions regarding scaling or setting constraints. The final level of the model provides for analyzing resource usage by multiple applications simultaneously over a given period. This allows consideration of the mutual influence between applications, competition for shared resources, and overall environment load. As a result, a comprehensive picture of resource balance is formed, which serves as the basis for intelligent cluster policy planning, workload placement optimization, and service stability assurance. The proposed approach to granular analysis of resource utilization in Kubernetes clusters is a promising research direction. It opens wide opportunities for further development of forecasting models, automated resource management, and the construction of adaptive monitoring systems capable of independently responding to changing cluster loads. The conclusions of the study emphasize the importance of integrating such methods to enhance the efficiency of modern cloud infrastructure operations.
Downloads
References
G. Turin, A. Borgarelli, S. Donetti, F. Damiani, E. B. Johnsen, and S. L. Tapia Tarifa, “Predicting resource consumption of Kubernetes container systems using resource models,” Journal of Systems and Software, vol. 203, p. 111750, Sep. 2023, doi: 10.1016/j.jss.2023.111750.
V. Medel, R. Tolosana-Calasanz, J. Á. Bañares, U. Arronategui, and O. F. Rana, “Characterising resource management performance in Kubernetes,” Computers & Electrical Engineering, vol. 68, pp. 286–297, May 2018, doi: 10.1016/j.compeleceng.2018.03.041.
M.-N. Tran and Y. Kim, “Optimized resource usage with hybrid auto-scaling system for knative serverless edge computing,” Future Generation Computer Systems, vol. 152, pp. 304–316, Mar. 2024, doi: 10.1016/j.future.2023.11.010.
H. Guo, H. Cao, J. He, X. Liu, and Y. Shi, “POBO: Safe and optimal resource management for cloud microservices,” Performance Evaluation, vol. 162, p. 102376, Nov. 2023, doi: 10.1016/j.peva.2023.102376.
B. Jeong, S. Baek, S. Park, J. Jeon, and Y.-S. Jeong, “Stable and efficient resource management using deep neural network on cloud computing,” Neurocomputing, vol. 521, pp. 99–112, Feb. 2023, doi: 10.1016/j.neucom.2022.11.089.
G. Marques, C. Senna, S. Sargento, L. Carvalho, L. Pereira, and R. Matos, “Proactive resource management for cloud of services environments,” Future Generation Computer Systems, vol. 150, pp. 90–102, Jan. 2024, doi: 10.1016/j.future.2023.08.005.
“Resource Management for Pods and Containers,” Kubernetes, Jan. 28, 2025. [Online]. Available: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-types. Accessed: Apr. 12, 2025.
“Resource Management for Pods and Containers,” Kubernetes, Jan. 28, 2025. [Online]. Available: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#pod-level-resource-specification. Accessed: Apr. 10, 2025.
J. Barr, “Choosing the Right EC2 Instance Type for Your Application | Amazon Web Services,” Amazon Web Services, May 14, 2013. [Online]. Available: https://aws.amazon.com/blogs/aws/choosing-the-right-ec2-instance-type-for-your-application/. Accessed: Apr. 10, 2025.
“It just got easier to discover and compare EC2 instance types | Amazon Web Services,” Amazon Web Services, Nov. 26, 2019. [Online]. Available: https://aws.amazon.com/blogs/compute/it-just-got-easier-to-discover-and-compare-ec2-instance-types/. Accessed: Apr. 10, 2025.
Published
Issue
Section
License
Copyright (c) 2025 Security of Infocommunication Systems and Internet of Things

This work is licensed under a Creative Commons Attribution 4.0 International License.







