Commit 62358a95 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added a nomad volume for /nomad

parent 0a94e6b0
......@@ -25,6 +25,8 @@ spec:
volumeMounts:
- mountPath: /app/.volumes/fs
name: files-volume
- mountPath: /nomad
name: nomad-volume
env:
- name: NOMAD_SERVICE
value: "api"
......@@ -91,3 +93,7 @@ spec:
hostPath:
path: {{ .Values.volumes.files }}
type: Directory
- name: nomad-volume
hostPath:
path: {{ .Values.volumes.nomad }}
type: Directory
......@@ -30,6 +30,8 @@ spec:
volumeMounts:
- mountPath: /app/.volumes/fs
name: files-volume
- mountPath: /nomad
name: nomad-volume
env:
- name: NOMAD_SERVICE
value: "worker"
......@@ -100,3 +102,7 @@ spec:
hostPath:
path: {{ .Values.volumes.files }}
type: Directory
- name: nomad-volume
hostPath:
path: {{ .Values.volumes.nomad }}
type: Directory
......@@ -112,3 +112,4 @@ mail:
## Everything concerning the data that is used by the service
volumes:
files: /scratch/nomad-fair/fs
nomad: /nomad
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment