argocd-test/uptime-kuma/base/uptime-kuma-deployment.yaml

29 lines
622 B
YAML
Raw Normal View History

2024-10-31 14:43:36 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: uptime-kuma
namespace: uptime-kuma
spec:
replicas: 1
selector:
matchLabels:
app: uptime-kuma
template:
metadata:
labels:
app: uptime-kuma
spec:
volumes:
- name: uptime-kuma-data
persistentVolumeClaim:
claimName: uptime-kuma-data-pvc
containers:
- image: louislam/uptime-kuma:2.0.0-beta.0
name: uptime-kuma
ports:
- name: web
containerPort: 3001
volumeMounts:
- mountPath: /app/data
name: uptime-kuma-data