homelab-gitops/apps/stirling-pdf/deployment.yaml
gwg313 3cd820c135
add stirling-pdf
Signed-off-by: gwg313 <gwg313@pm.me>
2026-05-19 23:00:03 -04:00

49 lines
1.3 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: stirling-pdf
namespace: stirling-pdf
spec:
replicas: 1
selector:
matchLabels:
app: stirling-pdf
template:
metadata:
labels:
app: stirling-pdf
spec:
securityContext:
fsGroup: 1000
containers:
- name: stirling-pdf
image: docker.stirlingpdf.com/stirlingtools/stirling-pdf:2.11.0-fat
resources:
requests:
cpu: 250m
memory: 512Mi
limits:
cpu: 1000m
memory: 2Gi
ports:
- containerPort: 8080
volumeMounts:
- name: stirling-data
mountPath: /usr/share/tessdata
subPath: training-data
- name: stirling-data
mountPath: /configs
subPath: configs
- name: stirling-data
mountPath: /customFiles
subPath: custom-files
- name: stirling-data
mountPath: /logs
subPath: logs
- name: stirling-data
mountPath: /pipeline
subPath: pipeline
volumes:
- name: stirling-data
persistentVolumeClaim:
claimName: stirling-data