Files
fleet-infra/apps/uptime-kuma/uptime-kuma-deployment.yaml
2025-06-07 16:33:55 -04:00

32 lines
677 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: uptime-kuma
namespace: uptime-kuma
spec:
replicas: 1
selector:
matchLabels:
app: uptime-kuma
strategy:
type: Recreate
template:
metadata:
labels:
app: uptime-kuma
spec:
containers:
- image: louislam/uptime-kuma:1
name: uptime-kuma
ports:
- containerPort: 3001
protocol: TCP
volumeMounts:
- mountPath: /app/data
name: uptime-kuma-pvc
restartPolicy: Always
volumes:
- name: uptime-kuma-pvc
persistentVolumeClaim:
claimName: uptime-kuma-pvc