-
Notifications
You must be signed in to change notification settings - Fork 0
/
jupyter.yaml
226 lines (224 loc) · 4.54 KB
/
jupyter.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.21.0 (992df58d8)
creationTimestamp: null
labels:
io.kompose.service: notebook
name: notebook
namespace: default
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: notebook
strategy: {}
template:
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.21.0 (992df58d8)
creationTimestamp: null
labels:
io.kompose.service: notebook
spec:
containers:
- env:
- name: DASK_SCHEDULER_ADDRESS
value: '"tcp://scheduler:8786"'
- name: DOCKER_HOST
value: tcp://localhost:2375
image: delcacho/dask-notebook
imagePullPolicy: ""
name: notebook
ports:
- containerPort: 8888
- containerPort: 8000
- containerPort: 443
resources: {}
- name: dind
image: docker:18.09.6-dind
securityContext:
privileged: true
volumeMounts:
- name: dind-storage
mountPath: /var/lib/docker
hostname: notebook
restartPolicy: Always
serviceAccountName: ""
volumes:
- name: dind-storage
emptyDir: {}
status: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.21.0 (992df58d8)
creationTimestamp: null
labels:
io.kompose.service: scheduler
name: scheduler
namespace: default
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: scheduler
strategy: {}
template:
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.21.0 (992df58d8)
creationTimestamp: null
labels:
io.kompose.service: scheduler
spec:
containers:
- args:
- dask-scheduler
image: delcacho/dask
imagePullPolicy: ""
name: scheduler
ports:
- containerPort: 8786
- containerPort: 8787
resources: {}
hostname: dask-scheduler
restartPolicy: Always
serviceAccountName: ""
volumes: null
status: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.21.0 (992df58d8)
creationTimestamp: null
labels:
io.kompose.service: worker
name: worker
namespace: default
spec:
replicas: 5
selector:
matchLabels:
io.kompose.service: worker
strategy: {}
template:
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.21.0 (992df58d8)
creationTimestamp: null
labels:
io.kompose.service: worker
spec:
containers:
- args:
- dask-worker
- tcp://scheduler:8786
image: delcacho/dask
imagePullPolicy: ""
name: worker
resources: {}
hostname: dask-worker
restartPolicy: Always
serviceAccountName: ""
volumes: null
status: {}
---
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.21.0 (992df58d8)
creationTimestamp: null
labels:
io.kompose.service: notebook
name: notebook
namespace: default
spec:
ports:
- name: "8888"
port: 8888
targetPort: 8888
- name: "8000"
port: 8000
targetPort: 8000
- name: "443"
port: 443
targetPort: 443
- name: "29413"
protocol: TCP
port: 29413
- name: "29414"
protocol: TCP
port: 29414
- name: "29415"
protocol: TCP
port: 29415
- name: "29416"
protocol: TCP
port: 29416
- name: "29417"
protocol: TCP
port: 29417
- name: "29418"
protocol: TCP
port: 29418
- name: "29419"
protocol: TCP
port: 29419
- name: "29420"
protocol: TCP
port: 29420
- name: "29421"
protocol: TCP
port: 29421
- name: "29422"
protocol: TCP
port: 29422
- name: "29423"
protocol: TCP
port: 29423
- name: "54321"
protocol: TCP
port: 54321
clusterIP: None
selector:
io.kompose.service: notebook
status:
loadBalancer: {}
---
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.21.0 (992df58d8)
creationTimestamp: null
labels:
io.kompose.service: scheduler
name: scheduler
namespace: default
spec:
ports:
- name: "8786"
port: 8786
targetPort: 8786
- name: "8787"
port: 8787
targetPort: 8787
selector:
io.kompose.service: scheduler
status:
loadBalancer: {}