【问题标题】:Reason for the colors blue and green in blue/green-deployment蓝色/绿色部署中蓝色和绿色颜色的原因
【发布时间】:2020-06-10 06:18:17
【问题描述】:

不是技术问题,但我真的很想知道,但在任何地方都找不到答案。 有没有人可以告诉我为什么选择蓝色和绿色作为“蓝/绿部署”的概念。这个问题一直萦绕在我的脑海中,因此我再也无法入睡。

【问题讨论】:

    标签: continuous-integration devops continuous-deployment continuous-delivery blue-green-deployment


    【解决方案1】:

    在自己周围搜索。似乎颜色无关紧要,see

    Blue-green, black-red, fuchsia-periwinkle, it really doesn’t matter what colors are used. The point is that there are two separate but equal environments.
    

    this 文章中的 Martin Fowler 认为蓝色是活的,而绿色是候选者。

    At any time one of them, let's say blue for the example, is live. As you prepare a new release of your software you do your final stage of testing in the green environment. Once the software is working in the green environment, you switch the router so that all incoming requests go to the green environment - the blue one is now idle.
    

    This 文章认为绿色是活的,蓝色是候选的。

    You start with the green version in production.
    

    【讨论】:

    • 哇,谢谢你的详细回答。我真的很感激。
    猜你喜欢
    • 1970-01-01
    • 2021-09-18
    • 2011-10-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-04-25
    • 2014-08-26
    • 1970-01-01
    相关资源
    最近更新 更多