diff --git a/chart/templates/pdb.yaml b/chart/templates/pdb.yaml index 86ba7ff2..2dfe3dcf 100644 --- a/chart/templates/pdb.yaml +++ b/chart/templates/pdb.yaml @@ -1,4 +1,4 @@ -apiVersion: policy/v1beta1 +apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: {{ include "dispatcher.fullname" . }} diff --git a/chart/templates/sts.yaml b/chart/templates/sts.yaml index 9749ffea..61ba190d 100644 --- a/chart/templates/sts.yaml +++ b/chart/templates/sts.yaml @@ -10,6 +10,7 @@ spec: selector: matchLabels: {{- include "dispatcher.selectorLabels" . | nindent 6 }} + minReadySeconds: 5 template: metadata: annotations: @@ -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 }}