From 9304a78fc900c85c7cb0d5bf3a93e893416cf57c Mon Sep 17 00:00:00 2001 From: raarielgrace Date: Tue, 19 Nov 2024 15:19:29 -0800 Subject: [PATCH] chore(ci): fix frontend probe (#176) --- frontend/openshift.deploy.yml | 40 +++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/frontend/openshift.deploy.yml b/frontend/openshift.deploy.yml index 5a6491954..21f254adf 100644 --- a/frontend/openshift.deploy.yml +++ b/frontend/openshift.deploy.yml @@ -62,26 +62,26 @@ objects: containerPort: 3000 protocol: TCP # command: ["caddy", "run", "--config", "/etc/caddy/Caddyfile"] - # readinessProbe: - # httpGet: - # path: /health - # port: 3001 - # scheme: HTTP - # initialDelaySeconds: 5 - # periodSeconds: 2 - # timeoutSeconds: 2 - # successThreshold: 1 - # failureThreshold: 30 - # livenessProbe: - # successThreshold: 1 - # failureThreshold: 3 - # httpGet: - # path: /health - # port: 3001 - # scheme: HTTP - # initialDelaySeconds: 15 - # periodSeconds: 30 - # timeoutSeconds: 5 + readinessProbe: + httpGet: + path: /health + port: 3000 + scheme: HTTP + initialDelaySeconds: 5 + periodSeconds: 2 + timeoutSeconds: 2 + successThreshold: 1 + failureThreshold: 30 + livenessProbe: + successThreshold: 1 + failureThreshold: 3 + httpGet: + path: /health + port: 3000 + scheme: HTTP + initialDelaySeconds: 15 + periodSeconds: 30 + timeoutSeconds: 5 resources: # this is optional limits: cpu: 30m