livenessProbe:
exec: command: - /bin/sh - '-c' - /opt/app-root/src/check_conf.sh failureThreshold: 3 #探测失败阈值 initialDelaySeconds: 10 #容器起来多久才开始探测 periodSeconds: 10 #告诉kubelet每10秒探测一次 successThreshold: 1 #探测失败后成功1次就认为是成功的 timeoutSeconds: 3 #探测超过3秒则认为本次探测是失败的
参考 https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/