diff --git a/apps/paperclip/deployment.yaml b/apps/paperclip/deployment.yaml index d184838..2d44e2d 100644 --- a/apps/paperclip/deployment.yaml +++ b/apps/paperclip/deployment.yaml @@ -84,18 +84,28 @@ spec: - name: data mountPath: /paperclip readinessProbe: - httpGet: - path: /api/health - port: 3100 + exec: + command: + - wget + - --quiet + - --tries=1 + - --timeout=3 + - --spider + - http://localhost:3100/api/health initialDelaySeconds: 20 periodSeconds: 10 timeoutSeconds: 5 successThreshold: 1 failureThreshold: 3 livenessProbe: - httpGet: - path: /api/health - port: 3100 + exec: + command: + - wget + - --quiet + - --tries=1 + - --timeout=3 + - --spider + - http://localhost:3100/api/health initialDelaySeconds: 30 periodSeconds: 30 timeoutSeconds: 5