spinnaker - Spinnaker halyard 部署 - 覆盖 readinessprobe 配置
问题描述
如何覆盖 halyard 配置中的 readinessprobe 配置以通过 Halyard 部署 Spinnaker?
Front50 需要时间(~60 秒)才能启动,因此健康检查失败,因为默认超时设置为 1 秒。
通过 halyard 部署 Front50 的默认 readinessprobe 配置:
readinessProbe:
failureThreshold: 3
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
解决方案
我认为这可能会有所帮助:
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
推荐阅读
- c# - 删除 C# 中所有非必要的 json 格式
- java - LiveData 返回零而不是正确的整数
- java - TextWatcher 上的 Android 可编辑未正确附加
- javascript - 过滤包含已解决 Promise 的对象数组
- javascript - Expo Go 更新后无法正常工作
- c# - 如何在模拟上设置方法以默认返回 null?
- javascript - 内容脚本由于某种原因无法正常工作
- javascript - 使用 JavaScript 在段落之间添加子元素
- python - 在 Python 中查询 Qubole 数据
- audio - 为具有大量通道的音频文件生成波形