Skip to content

Commit

Permalink
add app ingress to ai-proxy (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHend authored Nov 20, 2024
1 parent 4b5c91b commit b2c1b6a
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tembo-stacks/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-stacks/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tembo-stacks"
description = "Tembo Stacks for Postgres"
version = "0.18.5"
version = "0.19.0"
authors = ["tembo.io"]
edition = "2021"
license = "Apache-2.0"
Expand Down
12 changes: 10 additions & 2 deletions tembo-stacks/src/apps/ai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,23 @@ name: !ai-proxy
appServices:
- image: quay.io/tembo/ai-proxy:2024.06.03
name: ai-proxy
routing:
- port: 8080
ingressPath: /ai
middlewares:
- strip-ai-path-prefix
middlewares:
- !stripPrefix
name: strip-ai-path-prefix
config:
- /ai
resources:
limits:
cpu: 100m
memory: 150Mi
requests:
cpu: 10m
memory: 150Mi
routing:
- port: 8080
storage:
volumeMounts:
- mountPath: /etc/nginx/conf.d
Expand Down
12 changes: 10 additions & 2 deletions tembo-stacks/src/stacks/specs/rag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,23 @@ stack_version: 0.1.0
appServices:
- image: quay.io/tembo/ai-proxy:2024.06.03
name: ai-proxy
routing:
- port: 8080
ingressPath: /ai
middlewares:
- strip-ai-path-prefix
middlewares:
- !stripPrefix
name: strip-ai-path-prefix
config:
- /ai
resources:
limits:
cpu: 100m
memory: 150Mi
requests:
cpu: 10m
memory: 150Mi
routing:
- port: 8080
storage:
volumeMounts:
- mountPath: /etc/nginx/conf.d
Expand Down

0 comments on commit b2c1b6a

Please sign in to comment.