Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1007/978-3-030-61362-4_32guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

A Formal Model of the Kubernetes Container Framework

Published: 20 October 2020 Publication History

Abstract

Loosely-coupled distributed systems organized as collections of so-called cloud-native microservices are able to adapt to traffic in very fine-grained and flexible ways. For this purpose, the cloud-native microservices exploit containerization and container management systems such as Kubernetes. This paper presents a formal model of resource consumption and scaling for containerized microservices deployed and managed by Kubernetes. Our aim is that the model, developed in Real-Time ABS, can be used as a framework to explore the behavior of deployed systems under various configurations at design time—before the systems are actually deployed. We further present initial results comparing the observed behavior of instances of our modeling framework to corresponding observations of real systems. These preliminary results suggest that the modeling framework can provide a satisfactory accuracy with respect to the behavior of distributed microservices managed by Kubernetes.

References

[1]
Albert E et al. Formal modeling and analysis of resource management for cloud architectures: an industrial case study using real-time ABS Serv. Orient. Comput. Appl. 2013 8 4 323-339
[2]
Albert, E., Correas, J., Johnsen, E.B., Pun, K.I., Román-Díez, G.: Parallel cost analysis. ACM Trans. Comput. Logic 19(4), 31:1–31:37 (2018). 10.1145/3274278
[3]
Aldinucci, M., et al.: HPC4AI: an AI-on-demand federated platform endeavour. In: Proceedings of 15th International Conference on Computing Frontiers (CF 2018), pp. 279–286. ACM (2018). 10.1145/3203217.3205340
[4]
Balalaie A, Heydarnoori A, and Jamshidi P Microservices architecture enables DevOps: migration to a cloud-native architecture IEEE Softw. 2016 33 3 42-52
[5]
Bergmayr, A., et al.: A systematic review of cloud modeling languages. ACM Comput. Surv. 51(1), 22:1–22:38 (2018). 10.1145/3150227
[6]
Bjørk, J., de Boer, F.S., Johnsen, E.B., Schlatte, R., Tapia Tarifa, S.L.: User-defined schedulers for real-time concurrent objects. Innov. Syst. Softw. Eng. 9(1), 29–43 (2013). 10.1007/s11334-012-0184-5
[7]
de Boer, F.S., et al.: A survey of active object languages. ACM Comput. Surv. 50(5), 76:1–76:39 (2017). 10.1145/3122848
[8]
Brady, J.F., Gunther, N.J.: How to emulate web traffic using standard load testing tools. CoRR abs/1607.05356 (2016). http://arxiv.org/abs/1607.05356
[9]
Bravetti M, Giallorenzo S, Mauro J, Talevi I, and Zavattaro G Hähnle R and van der Aalst W Optimal and automated deployment for microservices Fundamental Approaches to Software Engineering 2019 Cham Springer 351-368
[10]
Brogi A, Canciani A, and Soldani J Dustdar S, Leymann F, and Villari M Modelling and analysing cloud application management Service Oriented and Cloud Computing 2015 Cham Springer 19-33
[11]
Burns B, Grant B, Oppenheimer D, Brewer E, and Wilkes J Borg, Omega, and Kubernetes Queue 2016 14 1 70-93
[12]
Curiel M and Pont A Workload generators for web-based systems: characteristics, current status, and challenges IEEE Commun. Surv. Tutorials 2018 20 2 1526-1546
[13]
Di Cosmo, R., Mauro, J., Zacchiroli, S., Zavattaro, G.: Aeolus: a component model for the cloud. Inf. Comput. 239, 100–121 (2014). 10.1016/j.ic.2014.11.002
[14]
Erl T Service-Oriented Architecture: Concepts, Technology, and Design 2005 Upper Saddle River Prentice Hall
[15]
Fazio M, Celesti A, Ranjan R, Liu C, Chen L, and Villari M Open issues in scheduling microservices in the cloud IEEE Cloud Comput. 2016 3 5 81-88
[16]
Hightower, K., Burns, B., Beda, J.: Kubernetes: Up and Running Dive into the Future of Infrastructure. O’Reilly, Newton (2017)
[17]
Huhns MN and Singh MP Service-oriented computing: key concepts and principles IEEE Internet Comput. 2005 9 1 75-81
[18]
Johnsen EB, Hähnle R, Schäfer J, Schlatte R, and Steffen M Aichernig BK, de Boer FS, and Bonsangue MM ABS: a core language for abstract behavioral specification Formal Methods for Components and Objects 2011 Heidelberg Springer 142-164
[19]
Johnsen EB, Lin J-C, and Yu IC Margaria T and Steffen B Comparing AWS deployments using model-based predictions Leveraging Applications of Formal Methods, Verification and Validation: Discussion, Dissemination, Applications 2016 Cham Springer 482-496
[20]
Johnsen, E.B., Pun, K.I., Tapia Tarifa, S.L.: Modeling deployment decisions for elastic services with ABS. In: Behjati, R., Elmokashfi, A. (eds.) Proceedings of First International Workshop on Formal Methods for and on the Cloud. Electronic Proceedings in Theoretical Computer Science, vol. 228, pp. 16–26. Open Publishing Association (2016). 10.4204/EPTCS.228.3
[21]
Johnsen, E.B., Pun, K.I., Tapia Tarifa, S.L.: A formal model of cloud-deployed software and its application to workflow processing. In: Begusic, D., Rozic, N., Radic, J., Saric, M. (eds.) Proceedings of 25th International Conference on Software, Telecommunications and Computer Networks (SoftCOM 2017), pp. 1–6. IEEE (2017). 10.23919/SOFTCOM.2017.8115501
[22]
Johnsen EB, Schlatte R, and Tapia Tarifa SLIntegrating deployment architectures and resource consumption in timed object-oriented modelsJ. Logical Algebraic Methods Program.201584167-911304.68029
[23]
Larsen, K.G., Pettersson, P., Yi, W.: UPPAAL in a nutshell. Int. J. Softw. Tools Technol. Transf. 1(1–2),134–152 (1997). 10.1007/s100090050010
[24]
Lin J-C, Lee M-C, Yu IC, and Johnsen EB A configurable and executable model of spark streaming on apache YARN IJGUC 2020 11 2 185-195
[25]
Lin J-C, Yu IC, Johnsen EB, and Lee M-C Stevens P and Wąsowski A ABS-YARN: a formal framework for modeling Hadoop YARN clusters Fundamental Approaches to Software Engineering 2016 Heidelberg Springer 49-65
[26]
Newman, S.: Building Microservices - Designing Fine-Grained Systems, 1st edn. O’Reilly (2015). http://www.worldcat.org/oclc/904463848
[27]
Ölveczky PC and Meseguer JSemantics and pragmatics of real-time maudeHigh. Order Symb. Comput.2007201–2161-1961115.68095
[28]
Schäfer J and Poetzsch-Heffter A D’Hondt T JCoBox: generalizing active objects to concurrent components ECOOP 2010 – Object-Oriented Programming 2010 Heidelberg Springer 275-299

Cited By

View all
  • (2024)Context, Composition, Automation, and Communication: The C2AC Roadmap for Modeling and SimulationACM Transactions on Modeling and Computer Simulation10.1145/367322634:4(1-51)Online publication date: 13-Aug-2024
  • (2023)Deductive verification of active objects with Crowbar▪Science of Computer Programming10.1016/j.scico.2023.102928226:COnline publication date: 1-Mar-2023
  • (2022)The ABS simulator toolchainScience of Computer Programming10.1016/j.scico.2022.102861223:COnline publication date: 1-Nov-2022
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Guide Proceedings
Leveraging Applications of Formal Methods, Verification and Validation: Verification Principles: 9th International Symposium on Leveraging Applications of Formal Methods, ISoLA 2020, Rhodes, Greece, October 20–30, 2020, Proceedings, Part I
Oct 2020
595 pages
ISBN:978-3-030-61361-7
DOI:10.1007/978-3-030-61362-4

Publisher

Springer-Verlag

Berlin, Heidelberg

Publication History

Published: 20 October 2020

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 03 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Context, Composition, Automation, and Communication: The C2AC Roadmap for Modeling and SimulationACM Transactions on Modeling and Computer Simulation10.1145/367322634:4(1-51)Online publication date: 13-Aug-2024
  • (2023)Deductive verification of active objects with Crowbar▪Science of Computer Programming10.1016/j.scico.2023.102928226:COnline publication date: 1-Mar-2023
  • (2022)The ABS simulator toolchainScience of Computer Programming10.1016/j.scico.2022.102861223:COnline publication date: 1-Nov-2022
  • (2021)Modeling and Analyzing Resource-Sensitive Actors: A Tutorial IntroductionCoordination Models and Languages10.1007/978-3-030-78142-2_1(3-19)Online publication date: 14-Jun-2021

View Options

View options

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media