Skip to content

Commit 96fee8c

Browse files
Merge pull request #503 from NCEAS/develop
Patch release for data quality suite
2 parents a01bcb8 + bffaec5 commit 96fee8c

File tree

22 files changed

+260
-156
lines changed

22 files changed

+260
-156
lines changed

Docker/metadig-worker/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ meson-python
1010
ninja
1111
yara-python
1212
xarray[io]
13+
cftime
1314
metadig @ git+https://github.com/NCEAS/metadig-py.git

helm/metadig-controller/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ version: 1.0.7
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "v.3.1.1"
24+
appVersion: "v.3.1.2"

helm/metadig-controller/config/metadig.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ quartz.monitor.run.limit = 10
6262
# jep library
6363
jep.path = /usr/local/lib/python3.10/dist-packages/jep
6464
# arctic hashstore
65+
store.store_type = HashStore
6566
store.store_path = /var/data/repos/arctic/metacat/hashstore
6667
store.store_depth = 3
6768
store.store_width = 2

helm/metadig-controller/values.yaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -124,17 +124,13 @@ ingress:
124124
- api.test.dataone.org
125125
secretName: ingress-nginx-tls-cert
126126

127-
resources: {}
128-
# We usually recommend not to specify default resources and to leave this as a conscious
129-
# choice for the user. This also increases chances charts run on environments with little
130-
# resources, such as Minikube. If you do want to specify resources, uncomment the following
131-
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
132-
# limits:
133-
# cpu: 100m
134-
# memory: 128Mi
135-
# requests:
136-
# cpu: 100m
137-
# memory: 128Mi
127+
resources:
128+
requests:
129+
cpu: 500m
130+
memory: 1Gi
131+
limits:
132+
cpu: 4.0
133+
memory: 4Gi
138134

139135
autoscaling:
140136
enabled: false

helm/metadig-postgres/values.yaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,13 @@ service:
5858
type: ClusterIP
5959
port: 5432
6060

61-
resources: {}
62-
# We usually recommend not to specify default resources and to leave this as a conscious
63-
# choice for the user. This also increases chances charts run on environments with little
64-
# resources, such as Minikube. If you do want to specify resources, uncomment the following
65-
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
66-
# limits:
67-
# cpu: 100m
68-
# memory: 128Mi
69-
# requests:
70-
# cpu: 100m
71-
# memory: 128Mi
61+
resources:
62+
requests:
63+
cpu: 1
64+
memory: 8Gi
65+
limits:
66+
cpu: 4
67+
memory: 64Gi
7268

7369
autoscaling:
7470
enabled: false

helm/metadig-rabbitmq/install-metadig-rabbitmq.sh

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,8 @@
33
# https://github.com/bitnami/charts/tree/master/bitnami/rabbitmq#installing-the-chart
44

55
# helm repo add bitnami https://charts.bitnami.com/bitnami
6-
76
helm upgrade metadig-rabbitmq bitnami/rabbitmq \
8-
--version=12.8.2 \
9-
--namespace metadig \
10-
--set image.registry=docker.io \
11-
--set image.repository=bitnami/rabbitmq \
12-
--set auth.username=metadig \
13-
--set auth.password=quality \
14-
--set replicaCount=3 \
15-
--set podSecurityContext.enabled=false \
16-
--set podSecurityContext.fsGroup=1001 \
17-
--set podManagementPolicy=Parallel \
18-
--set service.type=ClusterIP \
19-
--set service.externalTrafficPolicy=Cluster \
20-
--set ingress.enabled=false \
21-
--set ingress.tls=false \
22-
--set ingress.ingressClassName="nginx" \
23-
--set persistence.enabled=true \
24-
--set persistence.storageClass=csi-rbd-sc \
25-
--set persistence.size=10Gi \
26-
--set volumePermissions.enabled=false \
27-
--set volumePermissions.containerSecurityContext.runAsUser=1001 \
28-
--set serviceAccount.create=false \
29-
--set serviceAccount.name="metadig" \
30-
--set tls.enabled=false
7+
--version=12.8.2 \
8+
--namespace metadig \
9+
-f rabbitmq-values.yaml
10+
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
image:
2+
registry: docker.io
3+
repository: bitnami/rabbitmq
4+
5+
auth:
6+
username: metadig
7+
password: quality
8+
9+
replicaCount: 6
10+
11+
podSecurityContext:
12+
enabled: false
13+
fsGroup: 1001
14+
15+
podManagementPolicy: Parallel
16+
17+
service:
18+
type: ClusterIP
19+
externalTrafficPolicy: Cluster
20+
21+
resources:
22+
requests:
23+
cpu: 1
24+
memory: 2Gi
25+
limits:
26+
cpu: 2
27+
memory: 4Gi
28+
29+
ingress:
30+
enabled: false
31+
tls: false
32+
ingressClassName: nginx
33+
34+
persistence:
35+
enabled: true
36+
storageClass: csi-rbd-sc
37+
size: 10Gi
38+
39+
volumePermissions:
40+
enabled: false
41+
containerSecurityContext:
42+
runAsUser: 1001
43+
44+
serviceAccount:
45+
create: false
46+
name: metadig
47+
48+
tls:
49+
enabled: false

helm/metadig-scheduler/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ version: 1.0.7
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "v.3.1.1"
24+
appVersion: "v.3.1.2"

helm/metadig-scheduler/config/taskList.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ quality,quality-cerp_sfwmd,metadig,20 0/1 * * * ?,"^eml.*|^http.*eml.*;FAIR-suit
2727
quality,quality-CA_OPC,metadig,25 0/1 * * * ?,"^eml.*|^http.*eml.*;FAIR-suite-0.4.0;urn:node:CA_OPC;2010-10-07T00:00:00.00Z;1;1000;"
2828
quality,quality-sctld,metadig,30 0/1 * * * ?,"^eml.*|^http.*eml.*;FAIR-suite-0.4.0;urn:node:SCTLD;2010-10-07T00:00:00.00Z;1;1000;"
2929
quality,quality-drp,metadig,35 0/1 * * * ?,"^eml.*|^http.*eml.*;FAIR-suite-0.4.0;urn:node:DRP;2010-10-07T00:00:00.00Z;1;1000;"
30-
quality,quality-si,metadig,45 0/1 * * * ?,"^eml.*|^http.*eml.*;FAIR-suite-0.4.0;urn:node:SI;2010-10-07T00:00:00.00Z;1;1000;"
31-
#quality,quality-data-suite,metadig,55 0/5 * * * ?,"^eml.*|^http.*eml.*;data-suite-0.1.0;urn:node:ARCTIC;1900-11-01T00:00:00.00Z;1;1000"
30+
#quality,quality-si,metadig,45 0/1 * * * ?,"^eml.*|^http.*eml.*;FAIR-suite-0.4.0;urn:node:SI;2010-10-07T00:00:00.00Z;1;1000;"
31+
quality,quality-data-suite,metadig,55 0/5 * * * ?,"^eml.*|^http.*eml.*;data-suite-0.1.0;urn:node:ARCTIC;1900-11-01T00:00:00.00Z;1;1000"
3232
#
3333
# Portal scoring tasks
3434
score,portal-KNB-FAIR,metadig,1 0/1 * * * ?,"*portals*;FAIR-suite-0.4.0;urn:node:KNB;2020-08-10T00:00:00.00Z;1;100;portal"

helm/metadig-scheduler/values.yaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,13 @@ service:
5151
ingress:
5252
enabled: false
5353

54-
resources: {}
55-
# We usually recommend not to specify default resources and to leave this as a conscious
56-
# choice for the user. This also increases chances charts run on environments with little
57-
# resources, such as Minikube. If you do want to specify resources, uncomment the following
58-
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
59-
# limits:
60-
# cpu: 100m
61-
# memory: 128Mi
62-
# requests:
63-
# cpu: 100m
64-
# memory: 128Mi
54+
resources:
55+
requests:
56+
cpu: 500m
57+
memory: 1Gi
58+
limits:
59+
cpu: 4.0
60+
memory: 4Gi
6561

6662
autoscaling:
6763
enabled: false

0 commit comments

Comments
 (0)