-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest_suncave.yaml
52 lines (52 loc) · 1.07 KB
/
test_suncave.yaml
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
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: test
namespace: jupyterlab
spec:
podManagementPolicy: Parallel
serviceName: "test"
replicas: 14
selector:
matchLabels:
app: test
template:
metadata:
labels:
app: test
spec:
tolerations:
- effect: NoSchedule
key: bigdipa
operator: Equal
value: "true"
nodeSelector:
suncave: "true"
containers:
- name: busybox
image: busybox
args: ["sleep", "10000000"]
resources:
limits:
memory: "50Gi"
requests:
memory: "50Gi"
volumeMounts:
- name: test
mountPath: /test
- name: volume-bigdipadata
mountPath: /nfs
volumes:
- name: volume-bigdipadata
nfs:
path: /bigdipa2018/data/
server: 10.108.15.47
volumeClaimTemplates:
- metadata:
name: test
spec:
storageClassName: rook-block
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 1Gi