Skip to main content

Commodore: Fail Safe Container Scheduling in Kubernetes

  • Conference paper
  • First Online:
Book cover Advanced Information Networking and Applications (AINA 2019)

Abstract

Kubernetes is a tool to facilitate deployment of multiple virtualized applications using container technology. Kubernetes scheduling mechanism orchestrates computing resources per application at runtime. However, resource allocation is static, as the maximum amount of computing resources that each application can use, must be reserved in advance. If the application requests more resources than the maximum, a fail scheduling event is generated. Although solutions to the problem of automatic scaling in Kubernetes are known to exist and automatic scaling is supported by cloud providers such as Amazon and Google, these solutions are fully proprietary and not generic (e.g. do not apply to all Kubernetes distributions). Our solution, referred to as “Commodore”, is capable of allocating (or de-allocating) resources based on the actual demands of running applications. Taking advantage of the virtualization features of cloud computing, applications are deployed on worker machines (nodes) as Virtual Machines (VMs). This not only results in better utilization of computing resources (i.e. CPU, memory and network are defined virtually) but also, in enhanced software security by isolating services or applications from each other. The experimental results demonstrated that Commodore responds to the increasing (or decreasing) resource demands of each application leading to significantly faster response times compared to a non-auto scaled implementation.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://www.docker.com/resources/what-container.

  2. 2.

    https://kubernetes.io.

  3. 3.

    https://docs.openstack.org/nova/latest/.

  4. 4.

    https://azure.microsoft.com/en-us/services/kubernetes-service/.

  5. 5.

    https://aws.amazon.com/ecs/.

  6. 6.

    https://cloud.google.com/kubernetes-engine/.

  7. 7.

    https://cloud.google.com/compute/docs/autoscaler/.

  8. 8.

    https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler.

  9. 9.

    http://cassandra.apache.org.

  10. 10.

    https://httpd.apache.org/docs/2.4/programs/ab.html.

References

  1. Al-Dhuraibi, Y., Paraiso, F., Djarallah, N., Merle, P.: Autonomic vertical elasticity of docker containers with ELASTICDOCKER. In: International Conference on Cloud Computing (CLOUD 2017), pp. 472–479, Honolulu, USA, June 2017

    Google Scholar 

  2. Bondi, A.B.: Characteristics of scalability and their impact on performance. In: 2nd International Workshop on Software and Performance, pp. 195–203, NY, USA (2000)

    Google Scholar 

  3. Christodoulopoulos, C.: Commodore: fail safe container scheduling in kubernetes. Technical report TR-TUC-ISL-07-2017, School of Electrical and Computer Engineering, TUC, Chania, Greece, December 2017

    Google Scholar 

  4. Lorido-Botran, T., Miguel-Alonso, J., Lozano, J.A.: A review of auto-scaling techniques for elastic applications in cloud environments. J. Grid Comput. 12(4), 559–592 (2014)

    Article  Google Scholar 

  5. Sharma, P., Chaufournier, L., Shenoy, P., Tay, Y.C.: Containers and virtual machines at scale: a comparative study. In: 17th International Middleware Conference, pp. 1:1–1:13, NY, USA (2016)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Euripides G. M. Petrakis .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Christodoulopoulos, C., Petrakis, E.G.M. (2020). Commodore: Fail Safe Container Scheduling in Kubernetes. In: Barolli, L., Takizawa, M., Xhafa, F., Enokido, T. (eds) Advanced Information Networking and Applications. AINA 2019. Advances in Intelligent Systems and Computing, vol 926. Springer, Cham. https://doi.org/10.1007/978-3-030-15032-7_83

Download citation

Publish with us

Policies and ethics