-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathvalues.yaml
226 lines (208 loc) · 6.19 KB
/
values.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
226
replicaCount: 1
image:
repository: us-central1-docker.pkg.dev/ucb-datahub-2018/core/node-placeholder-scaler
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "20240731-224556.git.9076.h5fdc5d69"
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
resources: {}
nodeSelector: {}
affinity: {}
rbac:
create: true
priorityClass:
create: true
tolerations:
calendarUrl:
https://calendar.google.com/calendar/ical/c_s47m3m1nuj3s81187k3b2b5s5o%40group.calendar.google.com/public/basic.ics
grafana:
tags:
- node-placeholder-scale
url: https://grafana.datahub.berkeley.edu
# Calculate size of node placeholder by:
# 1. Select a node in the node pool you want to configure
# export NODE=<node-name>
# 2. Get total amount of memory allocatable to pods on this node
# kubectl get node $NODE -o jsonpath='{.status.allocatable.memory}'
# 3. Get total amount of memory used by non-user pods on the node.
# kubectl get -A pod -l 'component!=user-placeholder' --field-selector spec.nodeName=$NODE -o jsonpath='{range .items[*].spec.containers[*]}{.name}{"\t"}{.resources.requests.memory}{"\n"}{end}' | egrep -v 'pause|notebook' | sort
# This will return memory units you'll need to sum yourself
#
# The node placeholder pod should be 'big' enough that it needs to be kicked out to get even a single
# user pod on the node - but not so big that it can't run on a node where other system pods are running!
#
# So we should make the memory be output of (2) - output of (3), with maybe another 256Mi wiggle room
# FIXME: LET US MAKE THIS INTO A SCRIPT!
nodePools:
astro:
nodeSelector:
hub.jupyter.org/pool-name: astro-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 1
biology:
nodeSelector:
hub.jupyter.org/pool-name: biology-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 1
cee:
nodeSelector:
hub.jupyter.org/pool-name: cee-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 0
data100:
nodeSelector:
hub.jupyter.org/pool-name: data100-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 207314055168
replicas: 1
data101:
nodeSelector:
hub.jupyter.org/pool-name: data101-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 1
data102:
nodeSelector:
hub.jupyter.org/pool-name: data102-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 1
data8:
nodeSelector:
hub.jupyter.org/pool-name: data8-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 1
datahub:
nodeSelector:
hub.jupyter.org/pool-name: datahub-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 2
dev:
nodeSelector:
hub.jupyter.org/pool-name: dev-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 29247442944
replicas: 0
dlab:
nodeSelector:
hub.jupyter.org/pool-name: dlab-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 1
eecs:
nodeSelector:
hub.jupyter.org/pool-name: eecs-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 1
ischool:
nodeSelector:
hub.jupyter.org/pool-name: ischool-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 1
julia:
nodeSelector:
hub.jupyter.org/pool-name: julia-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 0
nature:
nodeSelector:
hub.jupyter.org/pool-name: nature-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 1
publichealth:
nodeSelector:
hub.jupyter.org/pool-name: publichealth-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 1
stat159:
nodeSelector:
hub.jupyter.org/pool-name: stat159-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 0
stat20:
nodeSelector:
hub.jupyter.org/pool-name: stat20-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 1
r:
nodeSelector:
hub.jupyter.org/pool-name: r-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 1
small-courses:
nodeSelector:
hub.jupyter.org/pool-name: small-courses-pool
resources:
requests:
# Some value slightly lower than allocatable RAM on the nodepool
memory: 60929654784
replicas: 1