Skip to content

Commit 1a0f804

Browse files
committed
Don't modify STS PVC
1 parent debc3ad commit 1a0f804

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

charts/sourcegraph/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ In addition to the documented values, all services also support the following va
298298
| 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/) |
299299
| searcher.serviceAccount.create | bool | `false` | Enable creation of ServiceAccount for `searcher` |
300300
| searcher.serviceAccount.name | string | `""` | Name of the ServiceAccount to be created or an existing ServiceAccount |
301-
| searcher.storageSize | string | `"52Gi"` | Size of the PVC for searcher pods to store cache data |
301+
| searcher.storageSize | string | `"26Gi"` | Size of the PVC for searcher pods to store cache data |
302302
| sourcegraph.affinity | object | `{}` | Global Affinity, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity) |
303303
| sourcegraph.image.defaultTag | string | `"{{ .Chart.AppVersion }}"` | Global docker image tag |
304304
| sourcegraph.image.pullPolicy | string | `"IfNotPresent"` | Global docker image pull policy |

charts/sourcegraph/templates/searcher/searcher.StatefulSet.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ spec:
6262
{{- else }}
6363
# This value is ~45% of the default value for
6464
# storageSize in the VolumeClaimTemplate below
65-
value: "23400"
65+
value: "11700"
6666
{{- end }}
6767
- name: SYMBOLS_CACHE_SIZE_MB
6868
# Set the cache size to ~45% of the PVC size
@@ -71,7 +71,7 @@ spec:
7171
{{- else }}
7272
# This value is ~45% of the default value for
7373
# storageSize in the VolumeClaimTemplate below
74-
value: "23400"
74+
value: "11700"
7575
{{- end }}
7676
- name: POD_NAME
7777
valueFrom:

charts/sourcegraph/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ searcher:
10731073
# -- Name of the ServiceAccount to be created or an existing ServiceAccount
10741074
name: ""
10751075
# -- Size of the PVC for searcher pods to store cache data
1076-
storageSize: 52Gi
1076+
storageSize: 26Gi
10771077

10781078
storageClass:
10791079
# -- Enable creation of storageClass.

0 commit comments

Comments
 (0)