我在cloudControl上运行一个 Spring-Boot 应用程序和一个简单的 Jenkins 任务,每 10 分钟检查一次应用程序是否仍然可用。因此,每隔几天就会发生一次检查活动失败,但几分钟后它就会再次可用。cloudControl 日志显示在这些时间进行了部署,但构建的哈希值与未进行任何更改相同。
为什么会发生这些(恕我直言,不必要的)部署?
[Wed Sep 10 12:20:16 2014] lb-101 INFO Routing requests to new version
[Wed Sep 10 12:20:44 2014] lb-102 INFO Routing requests to new version
[Wed Sep 10 16:43:50 2014] lxc-1752 INFO Deploying ...
[Wed Sep 10 16:44:03 2014] lxc-1752 INFO Deployed version: b6a4eb94702f9a9aaeb9baa367d7a74c8d1c75e8
[Wed Sep 10 16:44:03 2014] lb-97 INFO Routing requests to new version
[Wed Sep 10 16:44:03 2014] lb-98 INFO Routing requests to new version
...
[Mon Sep 15 08:44:01 2014] lxc-1767 INFO Deploying ...
[Mon Sep 15 08:44:16 2014] lxc-1767 INFO Deployed version: b6a4eb94702f9a9aaeb9baa367d7a74c8d1c75e8
[Mon Sep 15 08:44:16 2014] ngx-72 INFO Routing requests to new version
[Mon Sep 15 08:44:16 2014] lb-120 INFO Routing requests to new version