File tree Expand file tree Collapse file tree 2 files changed +25
-6
lines changed Expand file tree Collapse file tree 2 files changed +25
-6
lines changed Original file line number Diff line number Diff line change @@ -129,9 +129,11 @@ jupyterhub:
129
129
replicas : 0
130
130
userScheduler :
131
131
enabled : false
132
+ # FIXME: We should think about these resource requests/limits, see
133
+ # https://github.com/2i2c-org/infrastructure/issues/2127.
134
+ #
132
135
resources :
133
136
requests :
134
- # FIXME: Just unset this?
135
137
cpu : 0.01
136
138
memory : 64Mi
137
139
limits :
@@ -145,15 +147,22 @@ jupyterhub:
145
147
service :
146
148
type : ClusterIP
147
149
chp :
150
+ # FIXME: We should think about these resource requests/limits, see
151
+ # https://github.com/2i2c-org/infrastructure/issues/2127.
152
+ #
148
153
resources :
149
154
requests :
150
- # FIXME: We want no guarantees here!!!
151
- # This is lowest possible value
152
155
cpu : 0.01
153
156
memory : 64Mi
154
157
limits :
155
158
memory : 1Gi
156
159
traefik :
160
+ # FIXME: We should think about these resource requests/limits, see
161
+ # https://github.com/2i2c-org/infrastructure/issues/2127.
162
+ #
163
+ # Note if autohttps pod's aren't used anywhere by our basehub
164
+ # deployments, we should simply remove this traefik configuration.
165
+ #
157
166
resources :
158
167
requests :
159
168
memory : 64Mi
@@ -450,9 +459,11 @@ jupyterhub:
450
459
ports :
451
460
- port : http
452
461
protocol : TCP
462
+ # FIXME: We should think about these resource requests/limits, see
463
+ # https://github.com/2i2c-org/infrastructure/issues/2127.
464
+ #
453
465
resources :
454
466
requests :
455
- # Very small unit, since we don't want any CPU guarantees
456
467
cpu : 0.01
457
468
memory : 128Mi
458
469
limits :
Original file line number Diff line number Diff line change @@ -38,8 +38,16 @@ binderhub:
38
38
hub.jupyter.org/node-purpose : core
39
39
resources :
40
40
requests :
41
- # FIXME: We want no guarantees here!!!
42
- # This is lowest possible value
41
+ # FIXME: These are basehub's defaults that may very well be worth
42
+ # deviating from.
43
+ #
44
+ # For example, we want to avoid the proxy pod gets evicted
45
+ # if the node is under memory pressure and the proxy pod is
46
+ # using more memory than requested. We also want to avoid
47
+ # having the proxy pod starved of CPU by a minimal request if
48
+ # other pods make significant requests and get a far greater
49
+ # ratio of the node's available CPU.
50
+ #
43
51
cpu : 0.01
44
52
memory : 64Mi
45
53
limits :
You can’t perform that action at this time.
0 commit comments