You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/sourcegraph/README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ In addition to the documented values, all services also support the following va
40
40
| blobstore.resources | object |`{"limits":{"cpu":"1","memory":"500M"},"requests":{"cpu":"1","memory":"500M"}}`| Resource requests & limits for the `blobstore` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)|
41
41
| blobstore.serviceAccount.create | bool |`false`| Enable creation of ServiceAccount for `blobstore`|
42
42
| blobstore.serviceAccount.name | string |`""`| Name of the ServiceAccount to be created or an existing ServiceAccount |
43
+
| blobstore.storageAnnotations | object |`{}`| Optional annotations to add to the `blobstore` PVC |
43
44
| blobstore.storageSize | string |`"100Gi"`| PVC Storage Request for `blobstore` data volume |
44
45
| blobstore.storageSubPath | string |`""`| Optional subPath for the `blobstore` primary data volume mount |
45
46
| cadvisor.containerSecurityContext | object |`{"privileged":true}`| Security context for the `cadvisor` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container)|
@@ -72,6 +73,7 @@ In addition to the documented values, all services also support the following va
72
73
| codeInsightsDB.resources | object |`{"limits":{"cpu":"4","memory":"2Gi"},"requests":{"cpu":"4","memory":"2Gi"}}`| Resource requests & limits for the `codeinsights-db` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)|
73
74
| codeInsightsDB.serviceAccount.create | bool |`false`| Enable creation of ServiceAccount for `codeinsights-db`|
74
75
| codeInsightsDB.serviceAccount.name | string |`""`| Name of the ServiceAccount to be created or an existing ServiceAccount |
76
+
| codeInsightsDB.storageAnnotations | object |`{}`| Optional annotations to add to the `codeinsights-db` PVC |
75
77
| codeInsightsDB.storageSize | string |`"200Gi"`| PVC Storage Request for `codeinsights-db` data volume |
76
78
| codeInsightsDB.storageSubPath | string |`""`| Optional subPath for the `codeinsights-db` primary data volume mount |
77
79
| codeIntelDB.additionalConfig | string |`""`| Additional PostgreSQL configuration. This will override or extend our default configuration. Notes: This is expecting a multiline string. Learn more from our [recommended PostgreSQL configuration](https://docs.sourcegraph.com/admin/config/postgres-conf) and [PostgreSQL documentation](https://www.postgresql.org/docs/12/config-setting.html)|
@@ -93,6 +95,7 @@ In addition to the documented values, all services also support the following va
93
95
| codeIntelDB.resources | object |`{"limits":{"cpu":"4","memory":"4Gi"},"requests":{"cpu":"4","memory":"4Gi"}}`| Resource requests & limits for the `codeintel-db` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)|
94
96
| codeIntelDB.serviceAccount.create | bool |`false`| Enable creation of ServiceAccount for `codeintel-db`|
95
97
| codeIntelDB.serviceAccount.name | string |`""`| Name of the ServiceAccount to be created or an existing ServiceAccount |
98
+
| codeIntelDB.storageAnnotations | object |`{}`| Optional annotations to add to the `codeintel-db` PVC |
96
99
| codeIntelDB.storageSize | string |`"200Gi"`| PVC Storage Request for `codeintel-db` data volume |
97
100
| codeIntelDB.storageSubPath | string |`""`| Optional subPath for the `codeintel-db` primary data volume mount |
98
101
| extraResources | list |`[]`| Additional resources to include in the rendered manifest. Templates are supported. |
@@ -126,6 +129,7 @@ In addition to the documented values, all services also support the following va
126
129
| gitserver.serviceAccount.create | bool |`false`| Enable creation of ServiceAccount for `gitserver`|
127
130
| gitserver.serviceAccount.name | string |`""`| Name of the ServiceAccount to be created or an existing ServiceAccount |
128
131
| gitserver.sshSecret | string |`""`| Name of existing Secret that contains SSH credentials to clone repositories. It usually contains keys, such as `id_rsa` (private key) and `known_hosts`. Learn more from [documentation](https://docs.sourcegraph.com/admin/install/kubernetes/helm#using-ssh-to-clone-repositories)|
132
+
| gitserver.storageAnnotations | object |`{}`| Optional annotations to add to the `gitserver` PVC |
129
133
| gitserver.storageSize | string |`"200Gi"`| PVC Storage Request for `gitserver` data volume |
130
134
| gitserver.storageSubPath | string |`""`| Optional subPath for the `gitserver` primary data volume mount |
131
135
| grafana.auth | object |`{"database":"","existingSecret":"","host":"","password":"","port":"","sslmode":"","user":""}`| NOTE: Create a separate user in the pgsql database with read-only perms on the minimum set of tables |
@@ -146,6 +150,7 @@ In addition to the documented values, all services also support the following va
146
150
| grafana.resources | object |`{"limits":{"cpu":"1","memory":"512Mi"},"requests":{"cpu":"100m","memory":"512Mi"}}`| Resource requests & limits for the `grafana` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)|
147
151
| grafana.serviceAccount.create | bool |`true`| Enable creation of ServiceAccount for `grafana`|
148
152
| grafana.serviceAccount.name | string |`"grafana"`| Name of the ServiceAccount to be created or an existing ServiceAccount |
153
+
| grafana.storageAnnotations | object |`{}`| Optional annotations to add to the `grafana` PVC |
149
154
| grafana.storageSize | string |`"2Gi"`| PVC Storage Request for `grafana` data volume |
150
155
| grafana.storageSubPath | string |`""`| Optional subPath for the `grafana` primary data volume mount |
151
156
| indexedSearch.containerSecurityContext | object |`{"allowPrivilegeEscalation":false,"readOnlyRootFilesystem":true,"runAsGroup":101,"runAsUser":100}`| Security context for the `zoekt-webserver` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container)|
@@ -157,6 +162,7 @@ In addition to the documented values, all services also support the following va
157
162
| indexedSearch.resources | object |`{"limits":{"cpu":"2","memory":"4G"},"requests":{"cpu":"500m","memory":"2G"}}`| Resource requests & limits for the `zoekt-webserver` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)|
158
163
| indexedSearch.serviceAccount.create | bool |`false`| Enable creation of ServiceAccount for `indexed-search`|
159
164
| indexedSearch.serviceAccount.name | string |`""`| Name of the ServiceAccount to be created or an existing ServiceAccount |
165
+
| indexedSearch.storageAnnotations | object |`{}`| Optional annotations to add to the `indexed-search` PVC |
160
166
| indexedSearch.storageSize | string |`"200Gi"`| PVC Storage Request for `indexed-search` data volume The size of disk to used for search indexes. This should typically be gitserver disk size multipled by the number of gitserver shards. |
161
167
| indexedSearch.storageSubPath | string |`""`| Optional subPath for the `indexed-search` primary data volume mount |
162
168
| indexedSearchIndexer.containerSecurityContext | object |`{"allowPrivilegeEscalation":false,"readOnlyRootFilesystem":true,"runAsGroup":101,"runAsUser":100}`| Security context for the `zoekt-indexserver` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container)|
@@ -248,6 +254,7 @@ In addition to the documented values, all services also support the following va
248
254
| pgsql.resources | object |`{"limits":{"cpu":"4","memory":"4Gi"},"requests":{"cpu":"4","memory":"4Gi"}}`| Resource requests & limits for the `pgsql` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)|
249
255
| pgsql.serviceAccount.create | bool |`false`| Enable creation of ServiceAccount for `pgsql`|
250
256
| pgsql.serviceAccount.name | string |`""`| Name of the ServiceAccount to be created or an existing ServiceAccount |
257
+
| pgsql.storageAnnotations | object |`{}`| Optional annotations to add to the `pgsql` PVC |
251
258
| pgsql.storageSize | string |`"200Gi"`| PVC Storage Request for `pgsql` data volume |
252
259
| pgsql.storageSubPath | string |`""`| Optional subPath for the `pgsql` primary data volume mount |
253
260
| postgresExporter.image.defaultTag | string |`"6.0.0@sha256:685a18f482e4a71a54e15814ffd6b8cd62844f6af056a81f7ec0ba5cf23fce27"`| Docker image tag for the `pgsql-exporter` image |
@@ -276,6 +283,7 @@ In addition to the documented values, all services also support the following va
276
283
| prometheus.resources | object |`{"limits":{"cpu":"2","memory":"6G"},"requests":{"cpu":"500m","memory":"6G"}}`| Resource requests & limits for the `prometheus` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) Prometheus is relied upon to monitor services for sending alerts to site admins when something is wrong with Sourcegraph, thus its memory requests and limits are the same to guarantee it has enough memory to perform its job reliably and prevent conflicts with other pods on the same host node. The limit chosen here is based on what works reliably on Sourcegraph.com with lots of traffic. |
277
284
| prometheus.serviceAccount.create | bool |`true`| Enable creation of ServiceAccount |
278
285
| prometheus.serviceAccount.name | string |`"prometheus"`| Name of the ServiceAccount to be created or an existing ServiceAccount |
286
+
| prometheus.storageAnnotations | object |`{}`| Optional annotations to add to the `prometheus` PVC |
279
287
| prometheus.storageSize | string |`"200Gi"`| PVC Storage Request for `prometheus` data volume |
280
288
| prometheus.storageSubPath | string |`""`| Optional subPath for the `prometheus` primary data volume mount |
281
289
| redisCache.connection.endpoint | string |`"redis-cache:6379"`| Endpoint to use for redis-cache. Supports either host:port or IANA specification |
@@ -289,6 +297,7 @@ In addition to the documented values, all services also support the following va
289
297
| redisCache.resources | object |`{"limits":{"cpu":"1","memory":"7Gi"},"requests":{"cpu":"1","memory":"7Gi"}}`| Resource requests & limits for the `redis-cache` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)|
290
298
| redisCache.serviceAccount.create | bool |`false`| Enable creation of ServiceAccount for `redis-cache`|
291
299
| redisCache.serviceAccount.name | string |`""`| Name of the ServiceAccount to be created or an existing ServiceAccount |
300
+
| redisCache.storageAnnotations | object |`{}`| Optional annotations to add to the `redis-cache` PVC |
292
301
| redisCache.storageSize | string |`"100Gi"`| PVC Storage Request for `redis-cache` data volume |
293
302
| redisCache.storageSubPath | string |`""`| Optional subPath for the `redis-cache` primary data volume mount |
294
303
| redisExporter.containerSecurityContext | object |`{"allowPrivilegeEscalation":false,"readOnlyRootFilesystem":true,"runAsGroup":1000,"runAsUser":999}`| Security context for the `redis-exporter` sidecar container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container)|
@@ -306,6 +315,7 @@ In addition to the documented values, all services also support the following va
306
315
| redisStore.resources | object |`{"limits":{"cpu":"1","memory":"7Gi"},"requests":{"cpu":"1","memory":"7Gi"}}`| Resource requests & limits for the `redis-store` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)|
307
316
| redisStore.serviceAccount.create | bool |`false`| Enable creation of ServiceAccount for `redis-store`|
308
317
| redisStore.serviceAccount.name | string |`""`| Name of the ServiceAccount to be created or an existing ServiceAccount |
318
+
| redisStore.storageAnnotations | object |`{}`| Optional annotations to add to the `redis-store` PVC |
309
319
| redisStore.storageSize | string |`"100Gi"`| PVC Storage Request for `redis-store` data volume |
310
320
| redisStore.storageSubPath | string |`""`| Optional subPath for the `redis-store` primary data volume mount |
311
321
| searcher.containerSecurityContext | object |`{"allowPrivilegeEscalation":false,"readOnlyRootFilesystem":true,"runAsGroup":101,"runAsUser":100}`| Security context for the `searcher` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container)|
@@ -317,6 +327,7 @@ In addition to the documented values, all services also support the following va
317
327
| searcher.resources | object |`{"limits":{"cpu":"2","memory":"2G"},"requests":{"cpu":"500m","memory":"500M"}}`| Resource requests & limits for the `searcher` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)|
318
328
| searcher.serviceAccount.create | bool |`false`| Enable creation of ServiceAccount for `searcher`|
319
329
| searcher.serviceAccount.name | string |`""`| Name of the ServiceAccount to be created or an existing ServiceAccount |
330
+
| searcher.storageAnnotations | object |`{}`| Optional annotations to add to the `searcher` PVC |
320
331
| searcher.storageSize | string |`"26Gi"`| Size of the PVC for searcher pods to store cache data |
321
332
| searcher.storageSubPath | string |`""`| Optional subPath for the `searcher` primary data volume mount |
322
333
| sgTestConnection | object |`{"enabled":true}`| Enable the busybox connection test after deployment |
0 commit comments