argocd/apps/ntfy/deployment.yaml

46 lines
977 B
YAML
Raw Normal View History

2026-10-11 21:03:33 +02:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: ntfy
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: ntfy
template:
metadata:
labels:
app: ntfy
spec:
containers:
- name: ntfy
image: binwiederhier/ntfy:v2.29.0
args: ["serve"]
ports:
- name: http
containerPort: 80
volumeMounts:
- name: config
mountPath: /etc/ntfy
- name: data
mountPath: /var/lib/ntfy
readinessProbe:
httpGet:
path: /v1/health
port: http
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
memory: 128Mi
volumes:
- name: config
configMap:
name: ntfy-config
- name: data
persistentVolumeClaim:
claimName: ntfy-data