Skip to content

Commit

Permalink
add storage to vectordb app (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHend authored Jan 20, 2024
1 parent 302eb6f commit bd9885a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tembo-operator/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tembo-operator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "controller"
description = "Tembo Operator for Postgres"
version = "0.30.3"
version = "0.30.4"
edition = "2021"
default-run = "controller"
license = "Apache-2.0"
Expand Down
16 changes: 16 additions & 0 deletions tembo-operator/src/stacks/templates/vectordb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ appServices:
env:
- name: BATCH_SIZE
value: "1000"
- name: XDG_CACHE_HOME
value: /models/.cache
routing:
- port: 3000
ingressPath: /vectordb
Expand All @@ -26,6 +28,20 @@ appServices:
limits:
cpu: 4000m
memory: 1500Mi
storage:
volumeMounts:
- mountPath: /models
name: hf-data-vol
volumes:
- ephemeral:
volumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
name: hf-data-vol
trunk_installs:
- name: pgmq
version: 1.1.1
Expand Down

0 comments on commit bd9885a

Please sign in to comment.