Initial commit

This commit is contained in:
root
2026-04-29 08:17:35 +00:00
commit ef55253cbd
49 changed files with 3073 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: vector-api
namespace: vector-store
spec:
replicas: 3
selector:
matchLabels:
app: vector-api
template:
metadata:
labels:
app: vector-api
spec:
containers:
- name: vector-api
image: your-registry/vector-store-api:1.0.0
ports:
- containerPort: 8000
env:
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: vector-api-secrets
key: DATABASE_URL
- name: LITELLM_MASTER_KEY
valueFrom:
secretKeyRef:
name: vector-api-secrets
key: LITELLM_MASTER_KEY
- name: LITELLM_PROXY_URL
valueFrom:
configMapKeyRef:
name: vector-store-config
key: LITELLM_PROXY_URL
- name: ADMIN_USER_IDS
valueFrom:
configMapKeyRef:
name: vector-store-config
key: ADMIN_USER_IDS
readinessProbe:
httpGet:
path: /health
port: 8000
initialDelaySeconds: 10
periodSeconds: 5
livenessProbe:
httpGet:
path: /health
port: 8000
initialDelaySeconds: 30
periodSeconds: 15
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: vector-api
namespace: vector-store
spec:
selector:
app: vector-api
ports:
- port: 8000
targetPort: 8000