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

8
9
10
11
12
13
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"

14
## Everything concerning the container images to be used
15
image:
16
17
18
19
20
21
  ## 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

22
23
24
25
26
  ## 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
27

28
29
30
31
32
33
34
35
36
37
38
39
## 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:
  - ""
40
41
42

## Everything concerning the nomad app
app:
43
  replicas: 1
44
  ## Number of gunicorn worker.
45
  worker: 10
46
47
48
49
  ## Number of threads per gunicorn worker (for async workerClass)
  threads: 4
  ## Gunircon worker class (http://docs.gunicorn.org/en/stable/settings.html#worker-class)
  workerClass: 'gthread'
50
51
  console_loglevel: INFO
  logstash_loglevel: INFO
52
53
54
55
  nomadNodeType: "public"

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

61
## Everything concerning the nomad worker
62
worker:
63
  replicas: 1
64
65
66
  # request and limit in GB, good prod sizes are 64, 420
  memrequest: 8
  memlimit: 32
67
  console_loglevel: ERROR
68
  logstash_loglevel: INFO
69
70
71
  ## 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
72
  routing: "queue"
73
  storage: "disk"
74
  nomadNodeType: "worker"
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
  ## URL for matomo(piwik) user tracking
82
  matomoUrl: 'https://nomad-lab.eu/prod/stat'
83
  ## site id for matomo(piwik) user tracking
84
  matomoSiteId: 1
85
  ## send matomo(piwik) user tracking data
86
  matomoEnabled: false
87
88
  ## automatically gz based on header
  gzip: true
89
90
  ## enable links to the 'new' encyclopedia
  encyclopediaEnabled: 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
  mirrorTimeout: 600
100
  external:
101
    host: "labdev-nomad.esc.rzg.mpg.de"
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
132

logstash:
133
  enabled: true
134
135
  port: 5000
  host: nomad-flink-01.esc
136

137
kibana:
138
139
  port: 5601
  host: nomad-flink-01.esc
140

141
mail:
142
143
144
  enabled: "false"
  host: 'localhost'
  port: 25
Markus Scheidgen's avatar
Markus Scheidgen committed
145
  from: 'webmaster@nomad-coe.eu'
146

147
148
149
client:
  username: admin

150
keycloak:
151
152
  serverExternalUrl: "https://nomad-lab.eu/fairdi/keycloak/auth/"
  serverUrl: "https://nomad-lab.eu/keycloak/auth/"
153
154
  realmName: "fairdi_nomad_test"
  username: "admin"
155
156
  clientId: "nomad_public"
  guiClientId: "nomad_public"
157
  admin_user_id: "00000000-0000-0000-0000-000000000000"
158

159
## Everything concerning the data that is used by the service
160
volumes:
161
  prefixSize: 1
162
163
164
  public: /nomad/fairdi/latest/fs/public
  staging: /nomad/fairdi/latest/fs/staging
  tmp: /nomad/fairdi/latest/fs/tmp
165
  nomad: /nomad
166

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

169
170
171
172
# Will reprocess calculations with their old matched parser, even if they do not
# match this parser anymore
reprocess_unmatched: true

Markus Scheidgen's avatar
Markus Scheidgen committed
173
174
175
datacite:
  enabled: false
  prefix: "10.17172"