From cf85142f3bdeb34a74c4035996c491d17541719b Mon Sep 17 00:00:00 2001 From: romain Date: Wed, 4 Oct 2023 17:06:36 +0200 Subject: [PATCH] Use status endpoint for the readiness probe --- charts/warpstream-agent/Chart.yaml | 2 +- charts/warpstream-agent/templates/deployment.yaml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/charts/warpstream-agent/Chart.yaml b/charts/warpstream-agent/Chart.yaml index 968d97a..030ae61 100644 --- a/charts/warpstream-agent/Chart.yaml +++ b/charts/warpstream-agent/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: warpstream-agent description: WarpStream Agent for Kubernetes. type: application -version: 0.2.1 +version: 0.3.0 appVersion: v507 icon: https://avatars.githubusercontent.com/u/132156278 home: https://docs.warpstream.com/warpstream/ diff --git a/charts/warpstream-agent/templates/deployment.yaml b/charts/warpstream-agent/templates/deployment.yaml index 2378e58..f92fc24 100644 --- a/charts/warpstream-agent/templates/deployment.yaml +++ b/charts/warpstream-agent/templates/deployment.yaml @@ -43,10 +43,11 @@ spec: - {{ . }} {{- end }} readinessProbe: - exec: - command: - - /bin/true + httpGet: + path: /v1/status + port: http initialDelaySeconds: 10 + periodSeconds: 5 resources: {{- toYaml .Values.resources | nindent 12 }} env: