Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions base/monitoring/prometheus/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ scrape_configs: # Configure targets to scrape
- job_name: "sourcegraph-statefulsets"
dns_sd_configs:
- names:
- "symbols.default.svc.cluster.local"
- "symbols.ns-sourcegraph.svc.cluster.local"
- "symbols.$SG_NAMESPACE.svc.cluster.local"
- "searcher.default.svc.cluster.local"
- "searcher.ns-sourcegraph.svc.cluster.local"
- "searcher.$SG_NAMESPACE.svc.cluster.local"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ data:
PROMETHEUS_URL: http://prometheus:30090
SRC_GIT_SERVERS: gitserver-0.gitserver:3178
SEARCHER_URL: http://searcher-0.searcher:3181
SYMBOLS_URL: http://symbols:3184
INDEXED_SEARCH_SERVERS: indexed-search-0.indexed-search:6070
1 change: 0 additions & 1 deletion base/sourcegraph/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ resources:
- precise-code-intel
- redis
- searcher
- symbols
- syntactic-code-intel
- syntect-server
- worker
5 changes: 0 additions & 5 deletions base/sourcegraph/symbols/kustomization.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions base/sourcegraph/symbols/symbols.Service.yaml

This file was deleted.

94 changes: 0 additions & 94 deletions base/sourcegraph/symbols/symbols.StatefulSet.yaml

This file was deleted.

9 changes: 1 addition & 8 deletions components/clusters/old-base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,20 @@ components:
- ../../monitoring/cadvisor
- ../../monitoring/rbacs
- ../../services/searcher/deployment
- ../../services/symbols/deployment
- ../../services/pgsql
- ../../services/codeinsights-db
- ../../services/codeintel-db
# Add sourcegraph as default storage class name
- ../../storage-class/sourcegraph
- ../../enable/service-discovery
patches:
# To support searcher and symbols as both statefulset and deployment
# To support searcher as both statefulset and deployment
- path: patches/searcher/searcher.patchesJson6902.yaml
target:
group: apps
kind: StatefulSet|Deployment
name: searcher
version: v1
- path: patches/symbols/symbols.patchesJson6902.yaml
target:
group: apps
kind: StatefulSet|Deployment
name: symbols
version: v1
- path: patches/remove/securityContext-container-0.yaml
target:
group: apps
Expand Down

This file was deleted.

2 changes: 0 additions & 2 deletions components/custom/replica/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ replicas:
# count: 1
# - name: searcher
# count: 1
# - name: symbols
# count: 1
# - name: sourcegraph-frontend
# count: 2
# - name: precise-code-intel-worker
Expand Down
40 changes: 0 additions & 40 deletions components/custom/resources/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -348,26 +348,6 @@ patches:
# memory: 500M
# - patch: |-
# apiVersion: apps/v1
# kind: StatefulSet
# metadata:
# name: symbols
# spec:
# replicas: 1
# template:
# spec:
# containers:
# - name: symbols
# resources:
# limits:
# cpu: "2"
# ephemeral-storage: "12G"
# memory: 2G
# requests:
# cpu: 500m
# ephemeral-storage: "10G"
# memory: 500M
# - patch: |-
# apiVersion: apps/v1
# kind: Deployment
# metadata:
# name: searcher
Expand All @@ -390,26 +370,6 @@ patches:
# apiVersion: apps/v1
# kind: Deployment
# metadata:
# name: symbols
# spec:
# replicas: 1
# template:
# spec:
# containers:
# - name: symbols
# resources:
# limits:
# cpu: "2"
# ephemeral-storage: "12G"
# memory: 2G
# requests:
# cpu: 500m
# ephemeral-storage: "10G"
# memory: 500M
# - patch: |-
# apiVersion: apps/v1
# kind: Deployment
# metadata:
# name: syntect-server
# spec:
# replicas: 1
Expand Down
13 changes: 0 additions & 13 deletions components/custom/resources/patches/update-endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,6 @@
name: sourcegraph-frontend-env
fieldPaths:
- data.SEARCHER_URL
- source:
group: apps
name: symbols
fieldPath: spec.replicas
reject:
- kind: Service
- kind: Deployment
targets:
- select:
kind: ConfigMap
name: sourcegraph-frontend-env
fieldPaths:
- data.SYMBOLS_URL
- source:
kind: StatefulSet
name: indexed-search
Expand Down
2 changes: 1 addition & 1 deletion components/enable/otel-collector/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ patches:
target:
group: apps
kind: StatefulSet|Deployment
name: sourcegraph-frontend|gitserver|indexed-search|precise-code-intel-worker|searcher|symbols|worker
name: sourcegraph-frontend|gitserver|indexed-search|precise-code-intel-worker|searcher|worker
version: v1
- patch: |-
- op: add
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ metadata:
data:
SRC_GIT_SERVERS: k8s+rpc://gitserver:3178?kind=sts
SEARCHER_URL: k8s+http://searcher:3181
SYMBOLS_URL: http://symbols:3184
INDEXED_SEARCH_SERVERS: k8s+rpc://indexed-search:6070?kind=sts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ metadata:
data:
SRC_GIT_SERVERS: k8s+rpc://gitserver:3178?kind=sts
SEARCHER_URL: k8s+http://searcher:3181?kind=sts
SYMBOLS_URL: k8s+http://symbols:3184?kind=sts
INDEXED_SEARCH_SERVERS: k8s+rpc://indexed-search:6070?kind=sts
13 changes: 0 additions & 13 deletions components/patches/endpoints-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,6 @@
name: sourcegraph-frontend-env
fieldPaths:
- data.SEARCHER_URL
- source:
group: apps
name: symbols
fieldPath: spec.replicas
reject:
- kind: Service
- kind: Deployment
targets:
- select:
kind: ConfigMap
name: sourcegraph-frontend-env
fieldPaths:
- data.SYMBOLS_URL
- source:
kind: StatefulSet
name: indexed-search
Expand Down
20 changes: 0 additions & 20 deletions components/patches/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -357,26 +357,6 @@
# apiVersion: apps/v1
# kind: Deployment
# metadata:
# name: symbols
# spec:
# replicas: 1
# template:
# spec:
# containers:
# - name: symbols
# resources:
# limits:
# cpu: "2"
# ephemeral-storage: "12G"
# memory: 2G
# requests:
# cpu: 500m
# ephemeral-storage: "10G"
# memory: 500M
---
# apiVersion: apps/v1
# kind: Deployment
# metadata:
# name: syntect-server
# spec:
# replicas: 1
Expand Down

This file was deleted.

8 changes: 1 addition & 7 deletions components/privileged/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
# To support searcher and symbols as both statefulset and deployment
# To support searcher as both statefulset and deployment
patches:
- path: patches/searcher/searcher.yaml
target:
group: apps
kind: StatefulSet|Deployment
name: searcher
version: v1
- path: patches/symbols/symbols.yaml
target:
group: apps
kind: StatefulSet|Deployment
name: symbols
version: v1
- path: patches/databases/securityContext.yaml
target:
group: apps
Expand Down
11 changes: 0 additions & 11 deletions components/privileged/patches/symbols/symbols.yaml

This file was deleted.

Loading
Loading