diff --git a/garden-service/static/kubernetes/system/build-sync/templates/deployment.yaml b/garden-service/static/kubernetes/system/build-sync/templates/deployment.yaml index c13fe85804..805e23be16 100644 --- a/garden-service/static/kubernetes/system/build-sync/templates/deployment.yaml +++ b/garden-service/static/kubernetes/system/build-sync/templates/deployment.yaml @@ -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