argocd-test/stirling-pdf/base/stirling-pdf-deployment.yaml

35 lines
864 B
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:
containers:
- image: stirlingtools/stirling-pdf:0.45.0@sha256:fdeb7410e64f3d0d34278848b017d59da210978aded8877e13e77b104ef11132
name: stirling-pdf
ports:
- name: web
containerPort: 8080
env:
- name: DOCKER_ENABLE_SECURITY
value: "false"
- name: METRICS_ENABLED
value: "false"
resources:
requests:
cpu: "128m"
memory: "256Mi"
limits:
# stirling eats up CPU when starting
cpu: "4"
memory: "1024Mi"