Skip to content

Commit def2d9a

Browse files
authored
Merge pull request #41 from craig-willis/NDS-536
NDS-536: Updated readiness probes and resource requirements
2 parents 8a64956 + bcc7192 commit def2d9a

10 files changed

Lines changed: 25 additions & 11 deletions

File tree

clowder/clowder.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,18 @@
8181
}
8282
],
8383
"resourceLimits": {
84-
"cpuMax": 500,
84+
"cpuMax": 200,
8585
"cpuDefault": 100,
8686
"memMax": 1000,
8787
"memDefault": 250
8888
},
89+
"readinessProbe" : {
90+
"type" : "http",
91+
"path" : "/assets/stylesheets/main.css",
92+
"port" : 9000,
93+
"initialDelay": 10,
94+
"timeout" : 60
95+
},
8996
"repositories": [
9097
{
9198
"url": "https://opensource.ncsa.illinois.edu/bitbucket/scm/cats/clowder.git",

clowder/extractors/image-preview.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232
],
3333
"resourceLimits": {
34-
"cpuMax": 1000,
34+
"cpuMax": 200,
3535
"cpuDefault": 100,
3636
"memMax": 250,
3737
"memDefault": 25

clowder/extractors/plantcv.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232
],
3333
"resourceLimits": {
34-
"cpuMax": 1000,
34+
"cpuMax": 500,
3535
"cpuDefault": 100,
3636
"memMax": 250,
3737
"memDefault": 100

clowder/extractors/video-preview.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232
],
3333
"resourceLimits": {
34-
"cpuMax": 1000,
34+
"cpuMax": 200,
3535
"cpuDefault": 100,
3636
"memMax": 250,
3737
"memDefault": 25

dataverse/dataverse.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@
6565
"type" : "http",
6666
"path" : "/healthcheck.txt",
6767
"port" : 8080,
68-
"initialDelay": 120,
68+
"initialDelay": 360,
6969
"timeout" : 600
7070
},
7171
"resourceLimits": {
7272
"cpuMax": 200,
7373
"cpuDefault": 100,
74-
"memMax": 2000,
74+
"memMax": 3000,
7575
"memDefault": 1000
7676
},
7777
"repositories": [

dataverse/solr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"path" : "/solr",
1919
"port" : 8983,
2020
"initialDelay": 30,
21-
"timeout" : 600
21+
"timeout" : 360
2222
},
2323
"resourceLimits": {
2424
"cpuMax": 200,

dspace/dspace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
{
5151
"name": "ADMIN_EMAIL",
52-
"value": "",
52+
"value": "$(NDSLABS_EMAIL)",
5353
"label": "Admin email",
5454
"isPassword": false,
5555
"canOverride": true
@@ -89,7 +89,7 @@
8989
"resourceLimits": {
9090
"cpuMax": 500,
9191
"cpuDefault": 100,
92-
"memMax": 4000,
92+
"memMax": 3000,
9393
"memDefault": 50
9494
},
9595
"tags": [

fedora/commons.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"path": "/images/fedora_logo_10in.png",
3535
"port": 8080,
3636
"initialDelay": 30,
37-
"timeout": 45
37+
"timeout": 120
3838
},
3939
"resourceLimits": {
4040
"cpuMax": 1000,

mongo/mongo.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919
"cpuDefault": 100,
2020
"memMax": 250,
2121
"memDefault": 100
22+
},
23+
"readinessProbe" : {
24+
"type" : "tcp",
25+
"path" : "",
26+
"port" : 27017,
27+
"initialDelay": 10,
28+
"timeout" : 60
2229
},
2330
"repositories" : [
2431
{

system/cloudcmd.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"timeout": 45
3131
},
3232
"resourceLimits": {
33-
"cpuMax": 500,
33+
"cpuMax": 200,
3434
"cpuDefault": 100,
3535
"memMax": 1000,
3636
"memDefault": 50

0 commit comments

Comments
 (0)