uptime kuma again

Signed-off-by: Michael Thomson <michael@michaelthomson.dev>
This commit is contained in:
2024-09-27 10:53:43 -04:00
parent 01d26cd62d
commit 56616989b3
7 changed files with 113 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
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