# apiVersion: apps/v1 # kind: Deployment # metadata: # name: satusehat-worker # spec: # template: # spec: # containers: # - name: satusehat-worker # startupProbe: # httpGet: # scheme: HTTP # port: 8080 # path: /health # initialDelaySeconds: 5 # periodSeconds: 10 # timeoutSeconds: 10 # failureThreshold: 30 # successThreshold: 1 # readinessProbe: # httpGet: # scheme: HTTP # port: 8080 # path: /ready # initialDelaySeconds: 10 # periodSeconds: 10 # timeoutSeconds: 10 # failureThreshold: 5 # successThreshold: 1 # livenessProbe: # httpGet: # scheme: HTTP # port: 8080 # path: /live # initialDelaySeconds: 90 # periodSeconds: 30 # timeoutSeconds: 10 # failureThreshold: 5 # successThreshold: 1 apiVersion: apps/v1 kind: Deployment metadata: name: satusehat-worker spec: template: spec: containers: - name: satusehat-worker startupProbe: tcpSocket: port: 8080 initialDelaySeconds: 5 periodSeconds: 10 timeoutSeconds: 2 failureThreshold: 18 successThreshold: 1 readinessProbe: tcpSocket: port: 8080 initialDelaySeconds: 10 periodSeconds: 10 timeoutSeconds: 2 failureThreshold: 3 successThreshold: 1 livenessProbe: tcpSocket: port: 8080 initialDelaySeconds: 60 periodSeconds: 30 timeoutSeconds: 2 failureThreshold: 3 successThreshold: 1