Skip to content

Commit

Permalink
fix: Shorten readiness probe period to try to prevent races (#930)
Browse files Browse the repository at this point in the history
Default readiness probe period is 10s so this should reduce timeouts
caused by overzealous probes.

This will need to backported to 0.14 release branch.
  • Loading branch information
jimmidyson committed Oct 1, 2024
1 parent a039691 commit 4f89fe1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
resources:
{{ with .Values.resources }}
{{- with .Values.resources }}
{{- toYaml . | nindent 10 }}
{{- end }}
volumeMounts:
Expand All @@ -93,9 +93,10 @@ spec:
port: probes
scheme: HTTP
path: /readyz
periodSeconds: 1
priorityClassName: {{ .Values.priorityClassName }}
securityContext:
{{ with .Values.securityContext }}
{{- with .Values.securityContext }}
{{- toYaml . | nindent 8}}
{{- end }}
volumes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ spec:
readinessProbe:
tcpSocket:
port: serve
periodSeconds: 1
priorityClassName: {{ .Values.priorityClassName }}
securityContext:
{{ with .Values.securityContext }}
Expand Down

0 comments on commit 4f89fe1

Please sign in to comment.