9

怎么随时分辨出哪个是预生产环境,哪个是生产环境呢?

 2 years ago
source link: https://www.v2ex.com/t/899247
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

怎么随时分辨出哪个是预生产环境,哪个是生产环境呢?

  itechnology · 2 小时 21 分钟前 · 1323 次点击

事情是这样的。公司目前有 A 和 B 两套生产环境,平时只用其中一套,另一套作为预生产环境,每次上线后轮换。

举个例子,当前生产是 A 环境,那么 B 环境就是预生产,12 月中旬需要上线,那这个时候会把代码先上线到预生产环境,也就是 B 环境,等预生产确定没问题之后,运维会把流量切到预生产,也就是 B 环境,这个时候 B 环境就是生产环境,A 环境就变成了预生产……如此循环。

现在的问题是,因为 A 和 B 两个环境经常轮换,导致开发人员经常搞不清楚哪个是生成环境,哪个是预生产环境。

请问有没有什么好的办法可以快速区分?

目前运维想的办法是每次上线之后把堡垒机的备注改一下。

</div


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK