From cd6547d834b69fb5b1802a70dc32fea38d91d78c Mon Sep 17 00:00:00 2001 From: Are Almaas Date: Tue, 8 Oct 2024 16:15:42 +0200 Subject: [PATCH 1/2] fix(webapi): ensure correct health checks are used in probes --- .azure/applications/web-api-so/main.bicep | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.azure/applications/web-api-so/main.bicep b/.azure/applications/web-api-so/main.bicep index 59b33b164..32942df6f 100644 --- a/.azure/applications/web-api-so/main.bicep +++ b/.azure/applications/web-api-so/main.bicep @@ -95,7 +95,7 @@ var probes = [ initialDelaySeconds: 2 type: 'Liveness' httpGet: { - path: '/liveness' + path: '/health/liveness' port: port } } @@ -104,7 +104,7 @@ var probes = [ initialDelaySeconds: 2 type: 'Readiness' httpGet: { - path: '/readiness' + path: '/health/readiness' port: port } } @@ -113,7 +113,7 @@ var probes = [ initialDelaySeconds: 2 type: 'Startup' httpGet: { - path: '/startup' + path: '/health/startup' port: port } } From fceb5d9d08be82d2a49aa855c025690e4f1ff87a Mon Sep 17 00:00:00 2001 From: Are Almaas Date: Tue, 8 Oct 2024 16:16:43 +0200 Subject: [PATCH 2/2] cleanup --- .azure/applications/web-api-eu/main.bicep | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.azure/applications/web-api-eu/main.bicep b/.azure/applications/web-api-eu/main.bicep index b2301a93c..9726cc300 100644 --- a/.azure/applications/web-api-eu/main.bicep +++ b/.azure/applications/web-api-eu/main.bicep @@ -91,7 +91,7 @@ var probes = [ initialDelaySeconds: 2 type: 'Liveness' httpGet: { - path: '/liveness' + path: '/health/liveness' port: port } } @@ -100,7 +100,7 @@ var probes = [ initialDelaySeconds: 2 type: 'Readiness' httpGet: { - path: '/readiness' + path: '/health/readiness' port: port } } @@ -109,7 +109,7 @@ var probes = [ initialDelaySeconds: 2 type: 'Startup' httpGet: { - path: '/startup' + path: '/health/startup' port: port } }