diff --git a/resources/hydra/resources/hydra-deployment.yaml b/resources/hydra/resources/hydra-deployment.yaml index 256fb21..9e259c6 100644 --- a/resources/hydra/resources/hydra-deployment.yaml +++ b/resources/hydra/resources/hydra-deployment.yaml @@ -50,6 +50,27 @@ spec: failureThreshold: 6 periodSeconds: 10 timeoutSeconds: 10 + readinessProbe: + exec: + command: + - wget + - --spider + - -q + - http://127.0.0.1:4445/health/ready + failureThreshold: 6 + periodSeconds: 10 + timeoutSeconds: 10 + startupProbe: + exec: + command: + - wget + - --spider + - -q + - http://127.0.0.1:4445/health/ready + failureThreshold: 60 + successThreshold: 1 + periodSeconds: 1 + timeoutSeconds: 1 ports: - containerPort: 4444 name: hydra-public