-
Notifications
You must be signed in to change notification settings - Fork 490
/
values.yaml
360 lines (318 loc) · 7.63 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
prefix:
user:
create: true
email: admin@sentry.local
password: aaaa
images:
sentry:
repository: getsentry/sentry
tag: cc9f7d1
pullPolicy: IfNotPresent
# imagePullSecrets: []
snuba:
repository: getsentry/snuba
tag: 882be95ba0d462a29759a49b2e9aad0c1ce111a9
pullPolicy: IfNotPresent
# imagePullSecrets: []
sentry:
web:
replicas: 1
env: {}
probeInitialDelaySeconds: 10
resources: {}
affinity: {}
nodeSelector: {}
# tolerations: []
# podLabels: []
autoscaling:
enabled: false
minReplicas: 2
maxReplicas: 5
targetCPUUtilizationPercentage: 50
worker:
replicas: 3
# concurrency: 4
env: {}
resources: {}
affinity: {}
nodeSelector: {}
# tolerations: []
# podLabels: []
# it's better to use prometheus adapter and scale based on
# the size of the rabbitmq queue
autoscaling:
enabled: false
minReplicas: 2
maxReplicas: 5
targetCPUUtilizationPercentage: 50
cron:
env: {}
resources: {}
affinity: {}
nodeSelector: {}
# tolerations: []
# podLabels: []
postProcessForward:
replicas: 1
env: {}
resources: {}
affinity: {}
nodeSelector: {}
# tolerations: []
# podLabels: []
snuba:
api:
replicas: 1
env: {}
probeInitialDelaySeconds: 10
resources: {}
affinity: {}
nodeSelector: {}
# tolerations: []
# podLabels: []
autoscaling:
enabled: false
minReplicas: 2
maxReplicas: 5
targetCPUUtilizationPercentage: 50
consumer:
replicas: 1
env: {}
resources: {}
affinity: {}
nodeSelector: {}
# tolerations: []
# podLabels: []
outcomesConsumer:
replicas: 1
env: {}
resources: {}
affinity: {}
nodeSelector: {}
# tolerations: []
# podLabels: []
sessionsConsumer:
replicas: 1
env: {}
resources: {}
affinity: {}
nodeSelector: {}
# tolerations: []
# podLabels: []
replacer:
env: {}
resources: {}
affinity: {}
nodeSelector: {}
# tolerations: []
# podLabels: []
dbInitJob:
env: {}
migrateJob:
env: {}
hooks:
enabled: true
dbInit:
resources:
limits:
memory: 2048Mi
requests:
cpu: 300m
memory: 2048Mi
snubaInit:
resources:
limits:
cpu: 2000m
memory: 1Gi
requests:
cpu: 700m
memory: 1Gi
system:
url: ""
adminEmail: ""
secretKey: 'icLq77rCyY_qrMMpXa6TQNjkDV6mU!c'
public: false # This should only be used if you’re installing Sentry behind your company’s firewall.
mail:
backend: dummy # smtp
useTls: false
username: ""
password: ""
port: 25
host: ""
from: ""
symbolicator:
enabled: false
auth:
register: true
service:
name: sentry
type: ClusterIP
externalPort: 9000
annotations: {}
# externalIPs:
# - 192.168.0.1
# loadBalancerSourceRanges: []
github: {} # https://github.com/settings/apps (Create a Github App)
# github:
# appId: "xxxx"
# appName: MyAppName
# clientId: "xxxxx"
# clientSecret: "xxxxx"
# privateKey: "-----BEGIN RSA PRIVATE KEY-----\nMIIEpA" !!!! Don't forget a trailing \n
# webhookSecret: "xxxxx`"
githubSso: {} # https://github.com/settings/developers (Create a OAuth App)
# clientId: "xx"
# clientSecret: "xx"
slack: {}
# slack:
# clientId:
# clientSecret:
# verificationToken:
ingress:
enabled: false
# annotations:
# kubernetes.io/tls-acme:
# certmanager.k8s.io/issuer:
# nginx.ingress.kubernetes.io/proxy-body-size:
#
# hostname:
#
# tls:
# - secretName:
# hosts:
filestore:
# Set to one of filesystem, gcs or s3 as supported by Sentry.
backend: filesystem
filesystem:
path: /var/lib/sentry/files
## Enable persistence using Persistent Volume Claims
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
##
persistence:
enabled: true
## database data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "-"
accessMode: ReadWriteOnce
size: 10Gi
## Whether to mount the persistent volume to the Sentry worker and
## cron deployments. This setting needs to be enabled for some advanced
## Sentry features, such as private source maps. If you disable this
## setting, the Sentry workers will not have access to artifacts you upload
## through the web deployment.
## Please note that you may need to change your accessMode to ReadWriteMany
## if you plan on having the web, worker and cron deployments run on
## different nodes.
persistentWorkers: false
## Point this at a pre-configured secret containing a service account. The resulting
## secret will be mounted at /var/run/secrets/google
gcs:
# credentialsFile: credentials.json
# secretName:
# bucketName:
## Currently unconfigured and changing this has no impact on the template configuration.
s3: {}
# accessKey:
# secretKey:
# bucketName:
# endpointUrl:
# signature_version:
# region_name:
# default_acl:
config:
configYml: |
# No YAML Extension Config Given
sentryConfPy: |
# No Python Extension Config Given
snubaSettingsPy: |
# No Python Extension Config Given
clickhouse:
enabled: true
clickhouse:
imageVersion: "19.16"
configmap:
remote_servers:
internal_replication: true
persistentVolumeClaim:
enabled: true
dataPersistentVolume:
enabled: true
accessModes:
- "ReadWriteOnce"
storage: "30Gi"
kafka:
enabled: true
replicaCount: 3
allowPlaintextListener: true
defaultReplicationFactor: 3
offsetsTopicReplicationFactor: 3
transactionStateLogReplicationFactor: 3
transactionStateLogMinIsr: 3
service:
port: 9092
redis:
## Required if the Redis component of this chart is disabled. (Existing Redis)
#
hostOverride: ""
enabled: true
nameOverride: sentry-redis
usePassword: false
# Only used when internal redis is disabled
# host: redis
# Just omit the password field if your redis cluster doesn't use password
# password: redis
# port: 6379
master:
persistence:
enabled: true
postgresql:
## Required if the Postgresql component of this chart is disabled. (Existing Postgres)
#
hostOverride: ""
enabled: true
nameOverride: sentry-postgresql
postgresqlUsername: postgres
postgresqlDatabase: sentry
# Only used when internal PG is disabled
# postgresqlHost: postgres
# postgresqlPassword: postgres
# postgresqlPort: 5432
# postgresSslMode: require
replication:
enabled: false
slaveReplicas: 2
synchronousCommit: "on"
numSynchronousReplicas: 1
rabbitmq:
## If disabled, Redis will be used instead as the broker.
enabled: true
forceBoot: true
replicaCount: 3
rabbitmqErlangCookie: pHgpy3Q6adTskzAT6bLHCFqFTF7lMxhA
rabbitmqUsername: guest
rabbitmqPassword: guest
nameOverride: ""
podDisruptionBudget:
minAvailable: 1
persistentVolume:
enabled: true
resources: {}
# rabbitmqMemoryHighWatermark: 600MB
# rabbitmqMemoryHighWatermarkType: absolute
definitions:
policies: |-
{
"name": "ha-all",
"pattern": "^((?!celeryev.*).)*$",
"vhost": "/",
"definition": {
"ha-mode": "all",
"ha-sync-mode": "automatic",
"ha-sync-batch-size": 1
}
}