diff --git a/zipline-system/zipline.yaml b/zipline-system/zipline.yaml index f152b73..bcc693f 100644 --- a/zipline-system/zipline.yaml +++ b/zipline-system/zipline.yaml @@ -88,6 +88,22 @@ spec: volumeMounts: - name: zipline-data mountPath: /zipline/uploads + readinessProbe: + httpGet: + path: /api/healthcheck + port: 3000 + initialDelaySeconds: 15 + periodSeconds: 10 + livenessProbe: + httpGet: + path: /api/healthcheck + port: 3000 + initialDelaySeconds: 45 + periodSeconds: 20 + volumes: + - name: zipline-data + persistentVolumeClaim: + claimName: zipline-data --- apiVersion: v1 kind: Service