Skip to content

Commit

Permalink
fix(k8s): intermittent errors with volume mounts in build-sync pods
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald authored and eysi09 committed Apr 3, 2020
1 parent 1956cf6 commit e6efba8
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ spec:
periodSeconds: 2
livenessProbe:
exec:
command: [pidof, rsync]
# The volume mount can go stale (for reasons not fully understood). This checks makes sure the volume
# mount works and terminates the container if/when the mount fails.
command: [stat, /data]
initialDelaySeconds: 20
periodSeconds: 20
periodSeconds: 2
volumeMounts:
- mountPath: /data
name: garden-build-sync
Expand Down

0 comments on commit e6efba8

Please sign in to comment.