From d31993953b970ab7b51500cc0a853b833ee245b7 Mon Sep 17 00:00:00 2001 From: Patrice Ferlet Date: Wed, 23 Oct 2024 16:32:50 +0200 Subject: [PATCH] fix(doc): livenessProbe and readinessProbe must be set In the health-check label, we now need to specify the kind of check to do - in the expected form from Kubernetes specification. --- generator/katenaryLabelsDoc.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/generator/katenaryLabelsDoc.yaml b/generator/katenaryLabelsDoc.yaml index f4b555f..d9a6d37 100644 --- a/generator/katenaryLabelsDoc.yaml +++ b/generator/katenaryLabelsDoc.yaml @@ -141,9 +141,10 @@ example: |- labels: {{ .KatenaryPrefix }}/health-check: |- - httpGet: - path: /health - port: 8080 + livenessProbe: + httpGet: + path: /health + port: 8080 type: "object" "same-pod":