diff --git a/v6_wrapper/UM/ncdc_maastricht_wrapper/json_templates/template-run-algorithm.json b/v6_wrapper/UM/ncdc_maastricht_wrapper/json_templates/template-run-algorithm.json new file mode 100644 index 0000000..4deb384 --- /dev/null +++ b/v6_wrapper/UM/ncdc_maastricht_wrapper/json_templates/template-run-algorithm.json @@ -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" + } + }