Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Replace startupProbe with redinessProbe #207

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chart/templates/pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "dispatcher.fullname" . }}
Expand Down
3 changes: 2 additions & 1 deletion chart/templates/sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
selector:
matchLabels:
{{- include "dispatcher.selectorLabels" . | nindent 6 }}
minReadySeconds: 5
template:
metadata:
annotations:
Expand Down Expand Up @@ -44,7 +45,7 @@ spec:
port: {{ .Values.clusterService.ports.http }}
initialDelaySeconds: 5
periodSeconds: 5
startupProbe:
readinessProbe:
httpGet:
path: /api/v1/healthz
port: {{ .Values.clusterService.ports.http }}
Expand Down