-
Notifications
You must be signed in to change notification settings - Fork 3
/
myjob.yml
75 lines (74 loc) · 2.05 KB
/
myjob.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
apiVersion: batch/v1
kind: Job
metadata:
name: ztrimetalniptau
namespace: rajesh444
spec:
template:
spec:
containers:
- env:
- name: NB_PREFIX
value: /notebook/rajesh444/nanoclusters
name: nanoclusters
image: ulissigroup/kubeflow_vasp:clusterga
imagePullPolicy: Always
resources:
limits:
cpu: 8
memory: 8Gi
nvidia.com/gpu: "0"
requests:
cpu: 8
memory: 8Gi
volumeMounts:
- mountPath: /home/jovyan
name: workspace-rajesh444
- mountPath: /home/jovyan/shared-datasets/
name: shared-datasets
- mountPath: /home/jovyan/shared-scratch/
name: shared-scratch
- mountPath: /dev/shm
name: dshm
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-jq6qb
readOnly: true
command:
- /bin/bash
- -c
args:
- python run_vasp_online.py
workingDir: /home/jovyan/GACluster/Vasp_Online/NewCrossOver/Trimetal-Cu2Pt2Ni2
restartPolicy: Never
serviceAccountName: default-editor
volumes:
- name: workspace-rajesh444
persistentVolumeClaim:
claimName: workspace-rajesh444
- name: shared-datasets
persistentVolumeClaim:
claimName: shared-datasets
- name: shared-scratch
persistentVolumeClaim:
claimName: shared-scratch
- emptyDir:
medium: Memory
name: dshm
- name: kube-api-access-jq6qb
projected:
defaultMode: 420
sources:
- serviceAccountToken:
expirationSeconds: 3607
path: token
- configMap:
items:
- key: ca.crt
path: ca.crt
name: kube-root-ca.crt
- downwardAPI:
items:
- fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
path: namespace