不是技术问题,但我真的很想知道它,我无法在任何地方找到答案。有没有人可以告诉我为什么选择蓝色和绿色作为“蓝/绿部署”的概念。这个问题一直萦绕在我的脑海中,因此我再也无法入睡。
问问题
126 次
1 回答
0
在自己周围搜索。似乎颜色无关紧要,请参阅
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.
本文中的 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.
这篇文章认为绿色是活的,蓝色是候选者。
You start with the green version in production.
于 2020-03-24T16:46:54.763 回答