Gluttony-Cluster/local-ai/local-ai-deployment.yml.off
Tyler Perkins 5b5bfdd8ba
All checks were successful
continuous-integration/drone/push Build is passing
Turn off local-ai for now
2023-12-13 23:27:35 -05:00

35 lines
712 B
Plaintext

apiVersion: apps/v1
kind: Deployment
metadata:
name: local-ai
namespace: local-ai-ns
spec:
replicas: 1
selector:
matchLabels:
app: local-ai
template:
metadata:
labels:
app: local-ai
spec:
containers:
- name: local-ai
image: quay.io/go-skynet/local-ai:latest
args:
- "--models-path"
- "/models"
- "--context-size"
- "700"
- "--threads"
- "4"
ports:
- containerPort: 8080
volumeMounts:
- name: models-volume
mountPath: /models
volumes:
- name: models-volume
persistentVolumeClaim:
claimName: local-ai-models-pvc