This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jupyter-pod.PRP.json
71 lines (71 loc) · 1.98 KB
/
jupyter-pod.PRP.json
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
{
"kind": "Pod",
"apiVersion": "v1",
"metadata": {
"name": "privatejupyter",
"namespace": "ml",
"labels": {
"k8s-app": "privatejupyter",
"time2delete": "ttl-0",
"instance": "xxx",
"owner": "xxx",
"repo": "xxx"
}
},
"spec": {
"containers": [
{
"name": "privatejupyter",
"image": "ivukotic/ml_platform:latest",
"args": [
"/.run",
"/ML_platform_tests/SetupPrivateJupyterLab.sh",
"pass",
"repo"
],
"ports": [
{
"containerPort": 9999
}
],
"resources": {
"requests": {
"cpu": 1,
"memory": "8Gi",
"nvidia.com/gpu": 1
},
"limits": {
"cpu": 1,
"memory": "12Gi",
"nvidia.com/gpu": 1
}
},
"volumeMounts": [
{
"name": "local-scratch",
"mountPath": "/data",
"readOnly": false
}
],
"imagePullPolicy": "Always"
}
],
"volumes": [
{
"name": "local-scratch",
"hostPath": {
"path": "/data"
}
}
],
"restartPolicy": "Always",
"serviceAccountName": "xxx",
"tolerations": [
{
"effect": "NoSchedule",
"key": "nautilus.io/suncave",
"operator": "Exists"
}
]
}
}