Dan*_*esa 4 amazon-web-services jenkins-pipeline
有没有办法减少服务被认为稳定的时间?我通过 Jenkins 设置了部署管道。仅由于最后一步,构建时间约为 8 分钟
aws ecs wait services-stable --cluster $C --service $S
Run Code Online (Sandbox Code Playgroud)
大约需要 5-6 分钟。经过两次检查后,目标群体被确定为健康。检查每 20 秒进行一次,所以如果我没记错的话,40 秒后应该会被标记为健康。
小智 5
有一篇关于加速 Amazon ECS 容器部署的精彩文章,其中包含此问题的答案并提供了加速部署的其他方法。关于此设置,如果您有经典的 REST API 应用程序,则可以将此设置减少deregistration_delay.timeout_seconds到 5 秒。
https://nathanpeck.com/speeding-up-amazon-ecs-container-deployments/
| 归档时间: |
|
| 查看次数: |
5045 次 |
| 最近记录: |