首页 > 解决方案 > Spinnaker halyard 部署 - 覆盖 readinessprobe 配置

问题描述

如何覆盖 halyard 配置中的 readinessprobe 配置以通过 Halyard 部署 Spinnaker?

Front50 需要时间(~60 秒)才能启动,因此健康检查失败,因为默认超时设置为 1 秒。

通过 halyard 部署 Front50 的默认 readinessprobe 配置:

readinessProbe:
      failureThreshold: 3
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1

标签: spinnakerspinnaker-halyard

解决方案


我认为这可能会有所帮助:

hal config deploy edit --liveness-probe-enabled true --liveness-probe-initial-delay-seconds $LONGEST_SERVICE_STARTUP_TIME

hal deploy apply

hal 配置选项似乎只有 liveness probe delay 参数。

参考: https ://www.spinnaker.io/setup/install/environment/#distributed-installation


推荐阅读