Skip to content

Commit

Permalink
Add livenessProbe for minute replication
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Jun 4, 2024
1 parent 076e3ee commit 4e128e2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions osm-seed/templates/jobs/replication-job-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ spec:
- name: {{ .Release.Name }}-replication-job-deployment
image: {{ .Values.replicationJob.image.name }}:{{ .Values.replicationJob.image.tag }}
command: ['/start.sh']
livenessProbe:
exec:
command:
- /bin/bash
- -c
- /liveness.sh
initialDelaySeconds: 600
timeoutSeconds: 5
periodSeconds: 10
failureThreshold: 3
{{- if .Values.replicationJob.resources.enabled }}
resources:
requests:
Expand Down

0 comments on commit 4e128e2

Please sign in to comment.