从零开始的Linux运维屌丝之路,资源免费分享平台   运维人员首选:简单、易用、高效、安全、稳定、社区活跃的开源软件
  • 首页
  • K8S
  • liveness和readiness对比及区别

liveness和readiness对比及区别

发布:蔺要红03-08分类: K8S

 
          livenessProbe:
            httpGet:
              path: /appHealth
              port: 5003
              scheme: HTTP
              httpHeaders:
                - name: User-Agent
                  value: Pod Health Check
                - name: Content-Type
                  value: application/json;charset=UTF-8
            initialDelaySeconds: 10
            timeoutSeconds: 2
            periodSeconds: 10
            successThreshold: 1
            failureThreshold: 3
          readinessProbe:
            httpGet:
              path: /appHealth
              port: 5003
              scheme: HTTP
              httpHeaders:
                - name: User-Agent
                  value: Pod Health Check
                - name: Content-Type
                  value: application/json;charset=UTF-8
            initialDelaySeconds: 10
            timeoutSeconds: 2
            periodSeconds: 10
            successThreshold: 1
            failureThreshold: 3
          startupProbe:
            httpGet:
              path: /appHealth
              port: 5003
              scheme: HTTP
            timeoutSeconds: 1
            periodSeconds: 10
            successThreshold: 1
            failureThreshold: 10

温馨提示如有转载或引用以上内容之必要,敬请将本文链接作为出处标注,如有侵权我会在24小时之内删除!
<<ExternalName类型Service | 没有了>>

欢迎使用手机扫描访问本站