Skip to content

Commit

Permalink
remove embeddings (#178)
Browse files Browse the repository at this point in the history
* remove embeddings

* remove all mentions of embeddings
  • Loading branch information
Chickensoupwithrice authored Sep 4, 2024
1 parent 58bfffb commit b9a58cb
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 177 deletions.
12 changes: 0 additions & 12 deletions base/sourcegraph/embeddings/embeddings.ConfigMap.yaml

This file was deleted.

64 changes: 0 additions & 64 deletions base/sourcegraph/embeddings/embeddings.Deployment.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions base/sourcegraph/embeddings/embeddings.Service.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions base/sourcegraph/embeddings/kustomization.yaml

This file was deleted.

1 change: 0 additions & 1 deletion base/sourcegraph/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ resources:
- blobstore
- codeinsights-db
- codeintel-db
- embeddings
- frontend
- gitserver
- indexed-search
Expand Down
4 changes: 0 additions & 4 deletions base/sourcegraph/worker/worker.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ spec:
fieldPath: status.hostIP
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(OTEL_AGENT_HOST):4317
envFrom:
- configMapRef:
name: embeddings-backend
optional: true
image: index.docker.io/sourcegraph/worker:5.6.185@sha256:8d8666abf5ff5f0cfb4e6724d657c271c9a7b13ee6386fabbab7bc67d5567191
terminationMessagePolicy: FallbackToLogsOnError
livenessProbe:
Expand Down
17 changes: 0 additions & 17 deletions components/custom/resources/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -496,23 +496,6 @@ patches:
# cpu: "0.5"
# memory: 512Mi
# - patch: |-
# apiVersion: apps/v1
# kind: Deployment
# metadata:
# name: embeddings
# spec:
# template:
# spec:
# containers:
# - name: embeddings
# resources:
# limits:
# cpu: "8"
# memory: "64Gi"
# requests:
# cpu: "4"
# memory: "32Gi"
# - patch: |-
# apiVersion: v1
# kind: PersistentVolumeClaim
# metadata:
Expand Down
30 changes: 0 additions & 30 deletions components/patches/embeddings-backend.yaml

This file was deleted.

21 changes: 0 additions & 21 deletions components/remove/embeddings/kustomization.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions instances/template/kustomization.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ components:
# - ../../components/utils/uid # -- Run all Postgres database with valid users on host
# - ../../components/utils/multi-version-upgrade # -- Scale down non-database pods to 0 for multi-version upgrade
# - ../../components/utils/migrate-to-nonprivileged # -- Component for migrating from privileged to non-privileged
- ../../components/remove/embeddings # -- Disable Embeddings service by default
#
#---------------------------------------------------------------------------------------
# Resource migration from deploy-sourcegraph
Expand Down Expand Up @@ -236,7 +235,6 @@ components:
# - path: patches/otel-collector.ConfigMap.yaml
# - path: patches/custom.NodePort.yaml
# - path: patches/resources.yaml
# - path: patches/embeddings-backend.yaml
# - path: patches/executor.ConfigMap.yaml
#
# #---------------------------------------------------------------------------------------
Expand Down

0 comments on commit b9a58cb

Please sign in to comment.