argocd-test/uptime-kuma/base/uptime-kuma-deployment.yaml
2024-10-31 15:43:36 +01:00

29 lines
622 B
YAML

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