蓝/绿部署中蓝色和绿色的原因

问题描述 投票:0回答:1

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

continuous-integration devops continuous-deployment continuous-delivery blue-green-deployment
1个回答
0
投票

在我周围搜索。似乎颜色无关紧要,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.
© www.soinside.com 2019 - 2024. All rights reserved.