-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Template to run the algorithm on dsri
- Loading branch information
1 parent
7d41f2f
commit 4361506
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
v6_wrapper/UM/ncdc_maastricht_wrapper/json_templates/template-run-algorithm.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"apiVersion": "v1", | ||
"kind": "Pod", | ||
"metadata": { | ||
"name": "pod-name", | ||
"labels": { | ||
"app": "app-name" | ||
}, | ||
"namespace": "project" | ||
}, | ||
"spec": { | ||
"volumes": [ | ||
{ | ||
"name": "data", | ||
"persistentVolumeClaim": { | ||
"claimName": "persistent-volume-name" | ||
} | ||
} | ||
], | ||
"containers": [ | ||
{ | ||
"name": "container-name", | ||
"image": "domain/brain-age-gpu:x.y.z", | ||
"command": [], | ||
"volumeMounts": [ | ||
{ | ||
"name": "data", | ||
"mountPath": "/mnt/data" | ||
} | ||
], | ||
"resources": { | ||
"requests": { | ||
"nvidia.com/gpu": 1 | ||
}, | ||
"limits": { | ||
"nvidia.com/gpu": 1 | ||
} | ||
}, | ||
"envFrom": [ | ||
{ | ||
"configMapRef": { | ||
"name": "config-map-name" | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"restartPolicy": "Never" | ||
} | ||
} |