Tyler Perkins
954e9e866e
All checks were successful
continuous-integration/drone/push Build is passing
35 lines
712 B
YAML
35 lines
712 B
YAML
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
|