-
Notifications
You must be signed in to change notification settings - Fork 125
/
Copy pathvalues.yaml
362 lines (347 loc) · 11 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
361
362
# This file defines the default values passed to this Helm chart. The user-provided `values.yaml`
# will be merged with this one and the result will be passed to the Helm templating stage. At the
# top level, these values are separated into three sections: `const`, `cluster`, and `site`,
# documented below.
# const defines configuration constants that generally should not be changed unless testing out experimental or pre-release features.
const:
frontend:
image: docker.sourcegraph.com/frontend:17750_2018-06-30_9391756
searcher:
image: docker.sourcegraph.com/searcher:17292_2018-06-20_03edd82
symbols:
image: docker.sourcegraph.com/symbols:17100_2018-06-15_786c9d4
gitserver:
image: docker.sourcegraph.com/gitserver:17094_2018-06-15_786c9d4
githubProxy:
image: docker.sourcegraph.com/github-proxy:11943_2018-02-23_8bfb2ee
indexedSearch:
image: docker.sourcegraph.com/zoekt:18-05-30_3d2275e
indexer:
image: docker.sourcegraph.com/indexer:17095_2018-06-15_786c9d4
lspProxy:
image: docker.sourcegraph.com/lsp-proxy:17712_2018-06-29_ba1da53
queryRunner:
image: docker.sourcegraph.com/query-runner:17097_2018-06-15_786c9d4
repoUpdater:
image: docker.sourcegraph.com/repo-updater:17098_2018-06-15_786c9d4
pgsql:
exporterImage: docker.sourcegraph.com/pgsql-exporter:a294a9b6d83c139d3e1217f02c8f80a54cbf73ac
image: docker.sourcegraph.com/postgres:9.4
syntectServer:
image: docker.sourcegraph.com/syntect_server:d4be6b90
xlangGo:
image: docker.sourcegraph.com/xlang-go:17111_2018-06-15_84e1df7
xlangJava:
image: docker.sourcegraph.com/xlang-java-skinny:2018-05-10-1621
xlangJavascriptTypescript:
image: docker.sourcegraph.com/xlang-javascript-typescript:00073_2018-06-21_90f79ed
npmProxy:
image: docker.sourcegraph.com/npm-proxy:9d593e267b6f5e86caeb29da37f140c5f5f4c8b2
xlangPython:
image: docker.sourcegraph.com/xlang-python:17201_2018-06-18_9f1ba26
xlangPHP:
image: docker.sourcegraph.com/xlang-php:00034_2018-06-11_8fee935
redis:
image: docker.sourcegraph.com/redis:18-02-07_8205764_3.2-alpine
exporterImage: docker.sourcegraph.com/redis_exporter:18-02-07_bb60087_v0.15.0
jaeger:
agent:
image: docker.sourcegraph.com/jaeger-agent
query:
image: docker.sourcegraph.com/jaeger-query
cassandra:
image: docker.sourcegraph.com/cassandra:3
collector:
image: docker.sourcegraph.com/jaeger-collector
podTmpGC:
image: docker.sourcegraph.com/pod-tmp-gc:latest
prometheus:
image: docker.sourcegraph.com/prometheus:v1.4.1
configMapReload:
image: docker.sourcegraph.com/configmap-reload:v0.1
authProxy:
image: docker.sourcegraph.com/auth-proxy:latest
alertManager:
image: docker.sourcegraph.com/alertmanager:v0.4.2
experimentalLangServers:
bash:
image: sourcegraph/codeintel-bash:00239_2018-05-31_6b6cac4
clojure:
image: sourcegraph/codeintel-clojure:00231_2018-05-31_eef495b
cpp:
image: sourcegraph/codeintel-cpp:00239_2018-05-31_6b6cac4
cs:
image: sourcegraph/codeintel-csharp:00225_2018-05-26_26f55a3
css:
image: sourcegraph/codeintel-css:00239_2018-05-31_6b6cac4
dockerfile:
image: sourcegraph/codeintel-docker:00239_2018-05-31_6b6cac4
elixir:
image: sourcegraph/codeintel-elixir:00239_2018-05-31_6b6cac4
html:
image: sourcegraph/codeintel-html:00239_2018-05-31_6b6cac4
lua:
image: sourcegraph/codeintel-lua:00225_2018-05-26_26f55a3
ocaml:
image: sourcegraph/codeintel-ocaml:00239_2018-05-31_6b6cac4
r:
image: sourcegraph/codeintel-r:00239_2018-05-31_6b6cac4
ruby:
image: sourcegraph/codeintel-ruby:00239_2018-05-31_6b6cac4
rust:
image: sourcegraph/codeintel-rust:00239_2018-05-31_6b6cac4
# cluster specifies the Docker images to use for each service along with replica counts and resource specs where they
# are tunable.
cluster:
# RBAC is enabled by default. Some Kubernetes environments do not permit RBAC. Set to "disabled" to disable and
# prevent RBAC objects from being generated.
rbac: enabled
frontend:
replicas: 1
containers:
frontend:
# # Additional user-provided environment variables can be added
# env:
# MY_USER_PROVIDED_CUSTOM_ENV_VAR: value
limits:
cpu: "2"
memory: 2G
requests:
cpu: "2"
memory: 1G
searcher:
replicas: 1
containers:
searcher:
limits:
cpu: "2"
memory: 2G
requests:
cpu: "500m"
memory: "500M"
symbols:
replicas: 1
containers:
symbols:
limits:
cpu: "2"
memory: 2G
requests:
cpu: "500m"
memory: "500M"
gitserver:
# Number of shards for caching git data. If you change this, you should also change indexedSearch.diskSize.
shards: 1
# Size of disk of each gitserver shard. If you change this, you should also change indexedSearch.diskSize.
diskSize: 200Gi
# # ssh is a map that describes the structure of gitserver's .ssh directory. If you have configured Sourcegraph
# # to index a private git repository and clone via SSH, you'll need to add the appropriate files to this
# # field.
# ssh:
# known_hosts: "Set this to the desired value for the SSH known_hosts file."
# id_rsa: "Set this to the value of a private key authorized to clone repositories from the code host."
containers:
gitserver:
limits:
cpu: "4"
memory: 8G
requests:
cpu: "500m"
memory: 1G
indexedSearch:
# The size of disk to used for search indexes (this should typically be gitserver.diskSize multipled by gitserver.shards)
diskSize: 200Gi
containers:
# zoekt-indexserver is CPU bound. The more CPU you allocate to it, the
# lower lag between a new commit and it being indexed for search.
zoekt-indexserver:
limits:
cpu: "4"
memory: 4G
requests:
cpu: "500m"
memory: 2Gi
zoekt-webserver:
limits:
cpu: "2"
memory: 4G
requests:
cpu: "500m"
memory: 2Gi
# # Uncomment this to add a Kubernetes node selector to the pods. This is usually unnecessary for most components, unless
# # you have a heterogeneous cluster where you need to ensure certain more resource-hungry pods (e.g., indexedSearch) are
# # assigned to larger nodes.
# nodeSelector:
# beta.kubernetes.io/instance-type: i3.4xlarge
lspProxy:
containers:
lsp-proxy:
limits:
cpu: "1"
memory: 8Gi
requests:
cpu: "500m"
memory: 2Gi
xlangGo:
replicas: 1
containers:
xlang-go:
limits:
cpu: "4"
memory: 8Gi
requests:
cpu: "500m"
memory: 2Gi
xlangJava:
replicas: 1
containers:
xlang-java:
limits:
cpu: "4"
memory: 8Gi
requests:
cpu: "500m"
memory: 2Gi
xlangJavascriptTypescript:
replicas: 1
containers:
xlang-javascript-typescript:
limits:
cpu: "4"
memory: 5Gi
requests:
cpu: "500m"
memory: 2Gi
xlangPython:
replicas: 1
containers:
xlang-python:
limits:
cpu: "500m"
memory: 1G
requests:
cpu: "500m"
memory: 1G
xlangPHP:
replicas: 1
containers:
xlang-php:
limits:
cpu: "4"
memory: 8Gi
requests:
cpu: "500m"
memory: 2Gi
pgsql:
volumes: []
containers:
pgsql:
volumeMounts: []
storageClass:
# name is the name of the storage class used by the persistent volumes generated in this chart. This should be
# left as is, unless you are using an already existing storage class.
name: default
# # REQUIRED: create should be set to "gcp", "aws", or "no". Setting to "gcp" or "aws" will create a new storage class for
# # the designated infrastructure provider. If set to "none", a storage class with the designated name must be
# # created separately from the config generated by this chart
# create: none
# # zone should be set to the zone in which your Kubernetes cluster resides
# zone: us-west1-a
# # securityContext, if set, overrides the standard pod security context in all pods
# securityContext:
# fsGroup: 1000
configVolume:
# configVolume.defaultMode sets the filesystem mode for ConfigMap volumes
defaultMode: 464
# # commonVolumes lists volumes to be included with every pod
# commonVolumes:
# - name: ssl
# hostPath:
# path: /etc/ssl
# # commonVolumeMounts lists volumeMounts to be attached to every container (these typically
# # corespond to the volumes specified in commonVolumes).
# commonVolumeMounts:
# - mountPath: /etc/ssl
# name: ssl
# site is the Sourcegraph site configuration.
#
# For legacy reasons, it can include some configuration fields that are only relevant to Data Center.
#
# See all site config options at https://about.sourcegraph.com/docs/config/site.
site: {
# Publicly accessible URL to web app (e.g., what you type into your browser).
"appURL": "http://localhost:3080",
# Port exposed on all nodes directing HTTP traffic to sourcegraph-frontend pod(s).
"httpNodePort": 30080,
# # Port exposed on all nodes directing HTTPS traffic to sourcegraph-frontend pod(s). Uncomment this
# # to allow incoming HTTPS traffic.
# httpsNodePort: 30081
# # The authentication provider to use for identifying and signing in users. Only one entry is supported.
# #
# # The builtin auth provider with signup disallowed (shown below) means that after the initial site admin signs in, all other users must be invited.
# #
# "auth.providers": [{"type": "builtin", "allowSignup": false}],
# Uncomment the languages for which you wish to enable code intelligence
"langservers": [
# {
# "language": "go",
# },
# {
# "language": "java",
# },
# {
# "language": "javascript",
# },
# {
# "language": "typescript",
# },
# {
# "language": "python",
# },
# {
# "language": "php",
# },
# WARNING experimental language servers follow - read about the caveats
# before enabling them:
# https://about.sourcegraph.com/docs/code-intelligence/experimental-language-servers#caveats-of-experimental-language-servers
# {
# "language": "bash",
# },
# {
# "language": "clojure",
# },
# {
# "language": "cpp",
# },
# {
# "language": "cs",
# },
# {
# "language": "css",
# },
# {
# "language": "dockerfile",
# },
# {
# "language": "elixir",
# },
# {
# "language": "html",
# },
# {
# "language": "lua",
# },
# {
# "language": "ocaml",
# },
# {
# "language": "r",
# },
# {
# "language": "ruby",
# },
# {
# "language": "rust",
# },
],
}