values.yaml 4.75 KB
Newer Older
1
## Default values for nomad@FAIRDI
2
version:
Markus Scheidgen's avatar
Markus Scheidgen committed
3
  label: "1.0.6"
4
  isTest: false
5
6
  isBeta: false
  usesBetaData: false
7
  officialUrl: "https://nomad-lab.eu/prod/rae/gui"
8

9
10
11
12
13
14
meta:
  service: "app"
  homepage: "https://nomad-lab.eu"
  source_url: "https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR"
  maintainer_email: "markus.scheidgen@physik.hu-berlin.de"

15
## Everything concerning the container images to be used
16
image:
17
18
19
20
21
22
  ## The kubernetes docker-registry secret that can be used to access the registry
  #  with the container image in it.
  #  It can be created via:
  #    kubectl create secret docker-registry gitlab-mpcdf --docker-server=gitlab-registry.mpcdf.mpg.de --docker-username=<your-user-name > --docker-password=<yourpass> --docker-email=<email>
  secret: gitlab-mpcdf

23
24
25
26
27
  ## The docker container image name without tag
  name: gitlab-registry.mpcdf.mpg.de/nomad-lab/nomad-fair
  ## The docker container image tag
  tag: latest
  pullPolicy: IfNotPresent
28

29
30
31
32
33
34
35
36
37
38
39
40
## Ingress can be unable to provide gui and api access through kubernetes ingress (only k8s 1.18+)
ingress:
  enabled: false
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/proxy-body-size: "32g"
    nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
    nginx.ingress.kubernetes.io/proxy-connect-timeout: "10"
    nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
    nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
  hosts:
  - ""
41
42
43

## Everything concerning the nomad app
app:
44
  replicas: 1
45
  ## Number of gunicorn worker.
46
  worker: 10
47
48
  console_loglevel: INFO
  logstash_loglevel: INFO
49
50
51
52
  nomadNodeType: "public"

## Everything concerning the nomad api
api:
53
54
  ## Secret used as cryptographic seed
  secret: "defaultApiSecret"
55
  ## Limit of unpublished uploads per user, except admin user
56
  uploadLimit: 10
57

58
## Everything concerning the nomad worker
59
worker:
60
  replicas: 1
61
62
63
  # request and limit in GB, good prod sizes are 64, 420
  memrequest: 8
  memlimit: 32
64
  maxTasksPerChild: 128
65
  console_loglevel: ERROR
66
  logstash_loglevel: INFO
67
68
69
  ## There are two routing modes "queue" and "worker". The "queue" routing will use a general
  # task queue and spread calc processing task over worker instances. The "worker" routing
  # will send all tasks related to an upload to the same worker
70
  routing: "queue"
71
  storage: "disk"
72
  nomadNodeType: "worker"
73
  timeout: 7200
74
  acks_late: false
75

76
77
78
## Everthing concerning the nomad gui
gui:
  replicas: 1
79
80
  ## This variable is used in the GUI to show or hide additional information
  debug: false
81
82
  ## automatically gz based on header
  gzip: true
83
84

encyclopedia:
85
  ## enable links to the 'new' encyclopedia
86
87
88
  enabled: true

aitoolkit:
89
  ## enable aitoolkit references
90
  enabled: false
91

92
## Everything concerning the nginx that serves the gui, proxies the api
93
#  It is run via NodePort service
94
proxy:
95
96
97
  # Set a nodePort to create a NodePort service instead of ClusterIP. Also set a nodeIP for the externalIP.
  nodePort:
  nodeIP:
98
  timeout: 120
99
  editTimeout: 1800
100
  external:
101
    host: "nomad-lab.eu"
Markus Scheidgen's avatar
Markus Scheidgen committed
102
    port: 80
103
    path: "/fairdi/nomad/latest"
104
    https: true
105

106
## configuration of the chart dependency for rabbitmq
107
rabbitmq:
108
109
  persistence:
    enabled: false
110
111
  nodeSelector:
    nomadtype: public
112
113
114
115
116
117
  image.pullSecrets: nil
  rabbitmq:
    username: rabbitmq
    password: rabbitmq
    erlangCookie: SWQOKODSQALRPCLNMEQG

118
## A common name/prefix for all dbs and indices.
119
dbname: fairdi_nomad_latest
120

121
122
## Databases that are not run within the cluster.
#  To run databases in the cluster, use the nomad-full helm chart.
123

124
mongo:
125
126
  host: nomad-flink-01.esc
  port: 27017
127

128
elastic:
129
130
  host: nomad-flink-01.esc
  port: 9200
131
  timeout: 60
132
133
134
  bulkTimeout: 600
  bulkSize: 1000
  entriesPerMaterialCap: 1000
135
136

logstash:
137
  enabled: true
138
139
  port: 5000
  host: nomad-flink-01.esc
140

141
kibana:
142
143
  port: 5601
  host: nomad-flink-01.esc
144

145
mail:
146
  enabled: false
147
148
  host: 'localhost'
  port: 25
149
  from: 'support@nomad-lab.eu'
150

151
152
153
client:
  username: admin

154
keycloak:
155
156
  serverExternalUrl: "https://nomad-lab.eu/fairdi/keycloak/auth/"
  serverUrl: "https://nomad-lab.eu/keycloak/auth/"
157
158
  realmName: "fairdi_nomad_test"
  username: "admin"
159
160
  clientId: "nomad_public"
  guiClientId: "nomad_public"
161
  admin_user_id: "00000000-0000-0000-0000-000000000000"
162

163
## Everything concerning the data that is used by the service
164
volumes:
165
  prefixSize: 1
166
167
168
  public: /nomad/fairdi/latest/fs/public
  staging: /nomad/fairdi/latest/fs/staging
  tmp: /nomad/fairdi/latest/fs/tmp
169
  nomad: /nomad
170

171
springerDbPath: /nomad/fairdi/db/data/springer.msg
Markus Scheidgen's avatar
Markus Scheidgen committed
172

173
reprocess:
174
175
176
177
178
  rematchPublished: true
  reprocessExistingEntries: true
  useOriginalParser: false
  addMatchedEntriesToPublished: false
  deleteUnmatchedPublishedEntries: false
179
  indexIndividualEntries: false
180

181
182
183
process:
  reuseParser: true
  indexMaterials: true
184

Markus Scheidgen's avatar
Markus Scheidgen committed
185
186
187
datacite:
  enabled: false
  prefix: "10.17172"