Skip to content

Commit

Permalink
faet: added more workers, moved ingest to the workers template
Browse files Browse the repository at this point in the history
  • Loading branch information
cdxker committed Sep 2, 2024
1 parent 2b143b3 commit adee0f6
Show file tree
Hide file tree
Showing 11 changed files with 62 additions and 37 deletions.
10 changes: 8 additions & 2 deletions glasskube/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,15 @@ Open [dashboard.localtrieve.com](http://dashboard.localtrieve.com) in your brows

## Optional commands

Scale down all embedding servers:
#### Scale down all embedding servers:

```shell
kubectl scale deployment trieve-embedding-bgem3 trieve-embedding-jina trieve-embedding-reranker trieve-embedding-splade-doc trieve-embedding-splade-query --replicas 0

```
```

#### Deleting the cluster

```shell
minikube delete -p trieve
```
29 changes: 0 additions & 29 deletions glasskube/trieve/ingest/deployment.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions glasskube/trieve/ingest/kustomization.yaml

This file was deleted.

1 change: 0 additions & 1 deletion glasskube/trieve/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ resources:
- server
- ui
- worker
- ingest
- embeddings

images:
Expand Down
8 changes: 8 additions & 0 deletions glasskube/trieve/worker/bktree-worker/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
commonLabels:
app.kubernetes.io/component: worker-bktree
nameSuffix: -bktree
resources:
- ../base
images:
- name: worker
newName: trieve/bktree-worker
2 changes: 1 addition & 1 deletion glasskube/trieve/worker/group/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ resources:
- ../base
images:
- name: worker
newName: trieve/file-worker
newName: trieve/group-worker
8 changes: 8 additions & 0 deletions glasskube/trieve/worker/ingest/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
commonLabels:
app.kubernetes.io/component: worker-file
nameSuffix: -ingest
resources:
- ../base
images:
- name: worker
newName: trieve/ingest
5 changes: 5 additions & 0 deletions glasskube/trieve/worker/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
resources:
- bktree-worker
- delete
- file
- group
- ingest
- sync-qdrant
- reindexer
- queue-bm25
- word-worker
16 changes: 16 additions & 0 deletions glasskube/trieve/worker/queue-bm25/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
commonLabels:
app.kubernetes.io/component: worker-queuebm25
nameSuffix: -bm25
resources:
- ../base
images:
- name: worker
newName: trieve/queue-bm25-migration
patches:
- target:
kind: Deployment
name: trieve-worker
patch: |-
- op: add
path: /spec/replicas
value: 0 # this deployment functions more like a "Job"
8 changes: 8 additions & 0 deletions glasskube/trieve/worker/reindexer/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
commonLabels:
app.kubernetes.io/component: worker-reindexer
nameSuffix: -reindexer
resources:
- ../base
images:
- name: worker
newName: trieve/reindex-worker
8 changes: 8 additions & 0 deletions glasskube/trieve/worker/word-worker/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
commonLabels:
app.kubernetes.io/component: worker-words
nameSuffix: -word
resources:
- ../base
images:
- name: worker
newName: trieve/word-worker

0 comments on commit adee0f6

Please sign in to comment.