agentic-os/curio/k8s/app.yaml

39 lines
732 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: curio-app
namespace: curio
spec:
replicas: 2
selector:
matchLabels:
app: curio-app
template:
metadata:
labels:
app: curio-app
annotations:
redeploy-timestamp: "2026-05-14T23:44:30"
spec:
containers:
- name: curio
image: 192.168.8.250:5000/curio:latest
imagePullPolicy: Always
ports:
- containerPort: 3000
env:
- name: DATABASE_URL
value: "postgres://postgres:curio_secret@curio-db:5432/curio"
---
apiVersion: v1
kind: Service
metadata:
name: curio-app
namespace: curio
spec:
selector:
app: curio-app
ports:
- port: 80
targetPort: 3000