Skip to content

Commit

Permalink
improvement(k8s): tune probes for build-sync pods
Browse files Browse the repository at this point in the history
We've observed Kubernetes killing the rsync pods, and suspect this may
have something to do with the probes.
  • Loading branch information
edvald committed Nov 14, 2019
1 parent 2761776 commit 68ba910
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,16 @@ spec:
- name: rsync
containerPort: 873
protocol: TCP
livenessProbe:
tcpSocket:
port: 873
readinessProbe:
tcpSocket:
port: 873
exec:
command: [pidof, rsync]
initialDelaySeconds: 5
periodSeconds: 2
livenessProbe:
exec:
command: [pidof, rsync]
initialDelaySeconds: 20
periodSeconds: 20
volumeMounts:
- mountPath: /data
name: garden-build-sync
Expand Down

0 comments on commit 68ba910

Please sign in to comment.