Gluttony-Cluster/localai/local-ai-deployment.yaml

38 lines
835 B
YAML
Raw Normal View History

2024-05-05 17:50:35 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: local-ai
namespace: local-ai-ns
labels:
app: local-ai
spec:
selector:
matchLabels:
app: local-ai
replicas: 1
template:
metadata:
labels:
app: local-ai
name: local-ai
spec:
containers:
- args:
- dolphin-2.5-mixtral-8x7b
env:
- name: DEBUG
value: "true"
name: local-ai
2024-05-05 17:56:34 +00:00
image: quay.io/go-skynet/local-ai:v2.14.0-cublas-cuda12-ffmpeg
2024-05-05 17:50:35 +00:00
imagePullPolicy: IfNotPresent
resources:
limits:
nvidia.com/gpu: 2
volumeMounts:
- name: models-volume
mountPath: /build/models
volumes:
- name: models-volume
persistentVolumeClaim:
claimName: models-pvc