livenessProbe: initialDelaySeconds: 60 periodSeconds: 5 timeoutSeconds: 3 successThreshold: 1 failureThreshold: 3 exec: command: - /bin/sh - -c - curl -s localhost:8080/actuator/health readinessProbe: initialDelaySeconds: 10 periodSeconds: 1 timeoutSeconds: 3 successThreshold: 1 failureThreshold: 50 exec: command: - /bin/sh - -c - curl -s localhost:8080/actuator/health
基于curl的方案可实现对依赖系统的监视,如fluentd对elasticsearch-logging的依赖
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)