diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index ff86d9a9d7587ed24c76a1175a9fa22afcc92c3f..04988149d024b2c33876bf429df6e2e1210ac1dc 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -21,6 +21,9 @@ spec: imagePullPolicy: Always ports: - containerPort: ${PORT} + volumeMounts: + - name: logs-volume + mountPath: /data/logs livenessProbe: httpGet: scheme: HTTP @@ -37,3 +40,7 @@ spec: periodSeconds: 10 imagePullSecrets: - name: kp-schbrain + volumes: + - name: logs-volume + hostPath: + path: /data/logs