Files
klaster/apps/llama/deployment.yaml
T
Lumpiasty cf5eeccdae
ci/woodpecker/push/flux-reconcile-source Pipeline was successful
ci/woodpecker/cron/renovate Pipeline was successful
remove ffmpeg subpath mount
2026-07-13 00:33:00 +02:00

66 lines
1.4 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: supervisord
namespace: llama
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: llama-swap
template:
metadata:
labels:
app: llama-swap
spec:
containers:
- name: supervisord
image: gitea.lumpiasty.xyz/lumpiasty/supervisord:latest@sha256:873dd2b64d7c88ab1f3b365b2ad414de8e169faa2df644e9450afaec1d77df3e
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
name: http
protocol: TCP
env:
- name: WORKSPACE
value: /root
volumeMounts:
- name: models
mountPath: /root
- mountPath: /dev/kfd
name: kfd
- mountPath: /dev/dri
name: dri
securityContext:
privileged: true
volumes:
- name: models
persistentVolumeClaim:
claimName: llama-models-lvmssd
- name: kfd
hostPath:
path: /dev/kfd
type: CharDevice
- name: dri
hostPath:
path: /dev/dri
type: Directory
---
apiVersion: v1
kind: Service
metadata:
name: llama
namespace: llama
spec:
type: ClusterIP
ports:
- name: http
port: 11434
targetPort: 8080
protocol: TCP
selector:
app: llama-swap