【发布时间】:2022-01-24 21:55:35
【问题描述】:
我正在尝试使用 bitnami/zookeeper 映像为 zookeeper 添加 liveness 和 readinessprobe,但创建 pod 失败,请告诉我需要在 liveness 和 readiness probe 添加哪些值。
以下是我尝试过的值。
livenessProbe:
enabled: true
initialDelaySeconds: 120
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 6
successThreshold: 1
readinessProbe:
enabled: true
initialDelaySeconds: 120
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 6
successThreshold: 1
我收到以下错误。
[spec.containers[0].livenessProbe:必填值:必须指定处理程序类型,spec.containers[0].readinessProbe:必填值:必须指定处理程序类型]
【问题讨论】:
标签: kubernetes apache-zookeeper readinessprobe livenessprobe