Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit 7cc55bb

Browse files
authored
Remove symbols statefulset (#4469)
Starting in Sourcegraph 6.4, the Symbols and Searcher services are now combined, for easier operation, simplified architecture, and better resource utilization. Customers can delete the service if not deleted automatically, and may want to consider reallocating resources previously given to symbols to searcher. Environment variables should be copied over from symbols to searcher. Test plan: This deployment ran for ~2 weeks on S2 and dotcom already and has signoff from team-product-platform. ### Checklist <!-- Kubernetes and Docker Compose MUST be kept in sync. You should not merge a change here without a corresponding change in the other repository, unless it truly is specific to this repository. If uneeded, add link or explanation of why it is not needed here. --> - [ ] [CHANGELOG.md](https://github.com/sourcegraph/sourcegraph/blob/main/CHANGELOG.md) updated - [x] [K8s Upgrade notes updated](https://github.com/sourcegraph/sourcegraph/blob/main/doc/admin/updates/kubernetes.md) - [x] Sister [deploy-sourcegraph-k8s](https://github.com/sourcegraph/deploy-sourcegraph-docker) change: - [x] Sister [deploy-sourcegraph-docker](https://github.com/sourcegraph/deploy-sourcegraph-docker) change: - [x] All images have a valid tag and SHA256 sum - [x] I acknowledge that [deploy-sourcegraph-k8s](https://github.com/sourcegraph/deploy-sourcegraph-k8s) is now the preferred Kubernetes deployment repository
1 parent f1200d9 commit 7cc55bb

File tree

8 files changed

+0
-161
lines changed

8 files changed

+0
-161
lines changed

base/symbols/symbols.Deployment.yaml

Lines changed: 0 additions & 89 deletions
This file was deleted.

base/symbols/symbols.Service.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

overlays/bases/deployments/kustomization.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ resources:
2222
- base/grafana/grafana.ServiceAccount.yaml
2323
- base/syntect-server/syntect-server.Service.yaml
2424
- base/syntect-server/syntect-server.Deployment.yaml
25-
- base/symbols/symbols.Service.yaml
26-
- base/symbols/symbols.Deployment.yaml
2725
- base/pgsql/pgsql.ConfigMap.yaml
2826
- base/pgsql/pgsql.Service.yaml
2927
- base/pgsql/pgsql.Deployment.yaml

overlays/low-resource/kustomization.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,6 @@ patches:
7474
group: apps
7575
version: v1
7676
path: delete-resources.yaml
77-
- target:
78-
kind: Deployment
79-
name: symbols
80-
group: apps
81-
version: v1
82-
path: delete-resources.yaml
8377
- target:
8478
kind: Deployment
8579
name: syntect-server

overlays/minikube/kustomization.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,6 @@ patches:
7474
group: apps
7575
version: v1
7676
path: delete-resources.yaml
77-
- target:
78-
kind: Deployment
79-
name: symbols
80-
group: apps
81-
version: v1
82-
path: delete-resources.yaml
8377
- target:
8478
kind: Deployment
8579
name: syntect-server

overlays/non-privileged/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ patchesStrategicMerge:
2222
- redis/redis-store.Deployment.yaml
2323
- worker/worker.Deployment.yaml
2424
- searcher/searcher.Deployment.yaml
25-
- symbols/symbols.Deployment.yaml
2625
- syntect-server/syntect-server.Deployment.yaml

overlays/non-privileged/symbols/symbols.Deployment.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

overlays/resources-update/resources.yaml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -327,26 +327,6 @@ metadata:
327327
---
328328
apiVersion: apps/v1
329329
kind: Deployment
330-
metadata:
331-
name: symbols
332-
# spec:
333-
# replicas: 1
334-
# template:
335-
# spec:
336-
# containers:
337-
# - name: symbols
338-
# resources:
339-
# limits:
340-
# cpu: "2"
341-
# ephemeral-storage: "12G"
342-
# memory: 2G
343-
# requests:
344-
# cpu: 500m
345-
# ephemeral-storage: "10G"
346-
# memory: 500M
347-
---
348-
apiVersion: apps/v1
349-
kind: Deployment
350330
metadata:
351331
name: syntect-server
352332
# spec:

0 commit comments

Comments
 (0)