skip to main content
10.1145/3429885.3429963acmconferencesArticle/Chapter ViewAbstractPublication PagesmiddlewareConference Proceedingsconference-collections
short-paper

Flexible Migration in Blue-Green Deployments within a Fixed Cost

Published: 11 January 2021 Publication History

Abstract

This paper presents the concept of PolyPod that consists of multiple Pods that run different versions of the same container image on the same node in order to share common libraries in memory. Its novelty is that it proposes a blueprint for blue-green deployments in order to balance maximum flexibility in the number of migration steps with maximum workload consolidation within a fixed total resource cost. This balance between flexibility and improved resource utilization is important for various application areas where users are served by the same application instance and have different time preferences for being upgraded to a new application version. The PolyPod concept is also relevant for a planned feature of Kubernetes so that Pods can be vertically scaled without re-starting them, but where scaling actions are aborted if the capacity of the node is to be exceeded. We explain how the PolyPod concept supports balancing flexible migration and resource utilization, with and without Pod restarts, by simulating various migration scenarios based on a quantitative cost model.

References

[1]
V. Kulkarni, "enhancements/20181106-in-place-update-of-pod-resources.md at master · kubernetes/enhancements." [Online]. Available: https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/20181106-in-place-update-of-pod-resources.md. [Accessed: 17-Sep-2020].
[2]
F. B. Schneider, "Implementing Fault-Tolerant Services Using the State Machine Approach: A Tutorial" ACM Comput. Surv., vol. 22, no. 4, pp. 299--319, Jan. 1990.
[3]
G. G. Claps, R. Berntsson Svensson, and A. Aurum, "On the journey to continuous deployment: Technical and social challenges along the way," in Information and Software Technology, 2015, vol. 57, no. 1, pp. 21--31.
[4]
T. A. Limoncelli, S. R. Chalup, and C. J. Hogan, "The Practice of Cloud System Administration: Designing and Operating Large Distributed Systems, Volume 2," 2014. [Online]. Available: http://the-cloud-book.com/. [Accessed: 14-Jan-2016].
[5]
F. Gey, D. Van Landuyt, and W. Joosen, "Evolving multi-tenant SaaS applications through self-adaptive upgrade enactment and tenant mediation," in International Symposium on Software Engineering for Adaptive and Self-Managing Systems, 2016, no. 11, pp. 151--157.
[6]
J. Bravo Ferreira, M. Cello, and J. O. Iglesias, "More sharing, more benefits? a study of library sharing in container-based infrastructures," in Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2017, vol. 10417 LNCS, pp. 358--371.
[7]
K. Rzadca et al., "Autopilot: workload autoscaling at Google," in EuroSys 2020, 2020.
[8]
S. Shekhar, H. Abdel-Aziz, A. Bhattacharjee, A. Gokhale, and X. Koutsoukos, "Performance Interference-Aware Vertical Elasticity for Cloud-Hosted Latency-Sensitive Applications," in 2018 IEEE 11th International Conference on Cloud Computing (CLOUD), 2018.
[9]
T. Heo, "linux/cgroup-v2.rst at master · torvalds/linux," 2015. [Online]. Available: https://github.com/torvalds/linux/blob/master/Documentation/admin-guide/cgroup-v2.rst. [Accessed: 21-Sep-2020].
[10]
A. Mohan, H. Sane, K. Doshi, S. Edupuganti, N. Nayak, and V. Sukhomlinov, "Agile Cold Starts for Scalable Serverless," in HotCloud 2019, 2019.
[11]
"community/pod-resource-management.md at master · kubernetes/community." [Online]. Available: https://github.com/kubernetes/community/blob/master/contributors/design-proposals/node/pod-resource-management.md. [Accessed: 22-Sep-2020].
[12]
Desmos Inc., "Desmos API v1.0 documentation," Desmos, Beautiful, Free Math. [Online]. Available: www.desmos.com. [Accessed: 21-Sep-2020].
[13]
S. Shekhar, H. Abdel-Aziz, A. Bhattacharjee, A. Gokhale, and X. Koutsoukos, "Performance Interference-Aware Vertical Elasticity for Cloud-Hosted Latency-Sensitive Applications," in 2018 IEEE 11th International Conference on Cloud Computing (CLOUD), 2018.
[14]
Cloud Native Computing Foundation, "autoscaler/vertical-pod-autoscaler at master · kubernetes/autoscaler." [Online]. Available: https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler. [Accessed: 12-Nov-2018].
[15]
G. Rattihalli, M. Govindaraju, H. Lu, and D. Tiwari, "Exploring potential for non-disruptive vertical auto scaling and resource estimation in kubernetes," IEEE Int. Conf. Cloud Comput. CLOUD, vol. 2019-July, pp. 33--40, 2019.
[16]
W. Wang, L. Zhang, D. Guo, S. Wu, H. Cui, and F. Bi, "Reg: An Ultra-lightweight Container that Maximizes Memory Sharing and Minimizes the Runtime Environment," in 2019 IEEE International Conference on Web Services (ICWS), 2019.

Cited By

View all
  • (2023)Application Deployment Strategy Comparison at PT. XYZ2023 International Conference on Information Management and Technology (ICIMTech)10.1109/ICIMTech59029.2023.10277987(505-510)Online publication date: 24-Aug-2023
  • (2023)Enhancing Node Fault Tolerance through High-Availability Clusters in Kubernetes2023 IEEE 3rd International Conference on Electronic Communications, Internet of Things and Big Data (ICEIB)10.1109/ICEIB57887.2023.10170110(30-35)Online publication date: 14-Apr-2023

Index Terms

  1. Flexible Migration in Blue-Green Deployments within a Fixed Cost

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    WOC'20: Proceedings of the 2020 6th International Workshop on Container Technologies and Container Clouds
    December 2020
    47 pages
    ISBN:9781450382090
    DOI:10.1145/3429885
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 11 January 2021

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Container orchestration
    2. Continuous deployment
    3. Resource management

    Qualifiers

    • Short-paper
    • Research
    • Refereed limited

    Funding Sources

    Conference

    Middleware '20
    Sponsor:
    Middleware '20: 21st International Middleware Conference
    December 7 - 11, 2020
    Delft, Netherlands

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)32
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 17 Feb 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)Application Deployment Strategy Comparison at PT. XYZ2023 International Conference on Information Management and Technology (ICIMTech)10.1109/ICIMTech59029.2023.10277987(505-510)Online publication date: 24-Aug-2023
    • (2023)Enhancing Node Fault Tolerance through High-Availability Clusters in Kubernetes2023 IEEE 3rd International Conference on Electronic Communications, Internet of Things and Big Data (ICEIB)10.1109/ICEIB57887.2023.10170110(30-35)Online publication date: 14-Apr-2023

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media