Skip to content

Commit b548f58

Browse files
authored
Remove repo-updater from kustomize (#269)
Sister PR of sourcegraph/deploy-sourcegraph-helm#671. Upgrade info alert is at sourcegraph/docs#1110. The repo-updater service is no longer required starting with Sourcegraph 6.4. Test plan: Repo-updater-less instances have been running for a while now. --- ## Checklist - [ ] Update [CHANGELOG.md](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/CHANGELOG.md) - [x] Update [K8s Upgrade notes](https://github.com/sourcegraph/sourcegraph/blob/main/doc/admin/updates/kubernetes.md) - [x] Kustomiz-specific changes - [x] Update sister repository: [deploy-sourcegraph-helm](https://github.com/sourcegraph/deploy-sourcegraph-helm) - [x] Update sister repository: [deploy-sourcegraph-docker](https://github.com/sourcegraph/deploy-sourcegraph-docker) sourcegraph/deploy-sourcegraph-docker#1202 - [ ] Verify all images have a valid tag and SHA256 sum
1 parent e203304 commit b548f58

File tree

19 files changed

+2
-275
lines changed

19 files changed

+2
-275
lines changed

base/monitoring/prometheus/prometheus.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ scrape_configs: # Configure targets to scrape
145145
group: sourcegraph-service
146146
targets:
147147
- sourcegraph-frontend:6060
148-
- repo-updater:6060
149148
- worker:6060
150149
- worker-executors:6996
151150
- syntect-server:6060

base/sourcegraph/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ resources:
1010
- pgsql
1111
- precise-code-intel
1212
- redis
13-
- repo-updater
1413
- searcher
1514
- symbols
1615
- syntactic-code-intel

base/sourcegraph/repo-updater/kustomization.yaml

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

base/sourcegraph/repo-updater/repo-updater.Deployment.yaml

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

base/sourcegraph/repo-updater/repo-updater.Service.yaml

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

components/clusters/old-base/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,5 @@ patches:
6565
- path: patches/precise-code-intel/worker.Deployment.yaml
6666
- path: patches/redis/redis-cache.Deployment.yaml
6767
- path: patches/redis/redis-store.Deployment.yaml
68-
- path: patches/repo-updater/repo-updater.Deployment.yaml
6968
- path: patches/syntect-server/syntect-server.Deployment.yaml
7069
- path: patches/worker/worker.Deployment.yaml

components/clusters/old-base/patches/repo-updater/repo-updater.Deployment.yaml

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

components/custom/resources/kustomization.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -328,24 +328,6 @@ patches:
328328
# memory: 100Mi
329329
# - patch: |-
330330
# apiVersion: apps/v1
331-
# kind: Deployment
332-
# metadata:
333-
# name: repo-updater
334-
# spec:
335-
# replicas: 1 # IMPORTANT: Singleton service. Do NOT add more replica.
336-
# template:
337-
# spec:
338-
# containers:
339-
# - name: repo-updater
340-
# resources:
341-
# limits:
342-
# cpu: "1"
343-
# memory: 2Gi
344-
# requests:
345-
# cpu: "1"
346-
# memory: 500Mi
347-
# - patch: |-
348-
# apiVersion: apps/v1
349331
# kind: StatefulSet
350332
# metadata:
351333
# name: searcher

components/enable/otel-collector/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ patches:
2121
target:
2222
group: apps
2323
kind: StatefulSet|Deployment
24-
name: sourcegraph-frontend|gitserver|indexed-search|precise-code-intel-worker|repo-updater|searcher|symbols|worker
24+
name: sourcegraph-frontend|gitserver|indexed-search|precise-code-intel-worker|searcher|symbols|worker
2525
version: v1
2626
- patch: |-
2727
- op: add

components/patches/resources.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -337,24 +337,6 @@
337337
# apiVersion: apps/v1
338338
# kind: Deployment
339339
# metadata:
340-
# name: repo-updater
341-
# spec:
342-
# replicas: 1 # IMPORTANT: Singleton service. Do NOT add more replica.
343-
# template:
344-
# spec:
345-
# containers:
346-
# - name: repo-updater
347-
# resources:
348-
# limits:
349-
# cpu: "1"
350-
# memory: 2Gi
351-
# requests:
352-
# cpu: "1"
353-
# memory: 500Mi
354-
---
355-
# apiVersion: apps/v1
356-
# kind: Deployment
357-
# metadata:
358340
# name: searcher
359341
# spec:
360342
# replicas: 2

0 commit comments

Comments
 (0)