39 lines
845 B
YAML
39 lines
845 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: fusionagi
|
|
labels:
|
|
app: fusionagi
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: fusionagi
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: fusionagi
|
|
spec:
|
|
containers:
|
|
- name: fusionagi
|
|
image: fusionagi:latest
|
|
ports:
|
|
- containerPort: 8000
|
|
envFrom:
|
|
- configMapRef:
|
|
name: fusionagi-config
|
|
env:
|
|
- name: OPENAI_API_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: fusionagi-secrets
|
|
key: openai-api-key
|
|
optional: true
|
|
resources:
|
|
requests:
|
|
memory: "256Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "512Mi"
|
|
cpu: "500m"
|