Skip to content

Commit

Permalink
Use status endpoint for the readiness probe
Browse files Browse the repository at this point in the history
  • Loading branch information
rprectangle committed Oct 4, 2023
1 parent 5b97663 commit cf85142
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/warpstream-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
7 changes: 4 additions & 3 deletions charts/warpstream-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cf85142

Please sign in to comment.