From 150b9c37d23da54132b47ea2395f200015db7687 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 9 Sep 2020 11:33:55 +0200 Subject: [PATCH] Koschei: Make probes use collections page instead of stats The stats page may load slower than expected due to database performance issues (#9278). Lets use collections view instead to hopefully make OpenShift liveness and readiness probes more stable. --- .../openshift-apps/koschei/templates/frontend-deployment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/openshift-apps/koschei/templates/frontend-deployment.yml b/roles/openshift-apps/koschei/templates/frontend-deployment.yml index e43f9e0155..db021e1324 100644 --- a/roles/openshift-apps/koschei/templates/frontend-deployment.yml +++ b/roles/openshift-apps/koschei/templates/frontend-deployment.yml @@ -37,13 +37,13 @@ spec: timeoutSeconds: 1 initialDelaySeconds: 5 httpGet: - path: /stats + path: /collections port: 8080 livenessProbe: timeoutSeconds: 1 initialDelaySeconds: 30 httpGet: - path: /stats + path: /collections port: 8080 volumes: - name: config