30 lines
637 B
YAML
30 lines
637 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
namespace: uptime-kuma
|
||
|
name: 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.23.1-alpine
|
||
|
name: uptime-kuma
|
||
|
resources: {}
|
||
|
volumeMounts:
|
||
|
- mountPath: /app/data
|
||
|
name: uptime-kuma-data
|
||
|
restartPolicy: Always
|
||
|
volumes:
|
||
|
- name: uptime-kuma-data
|
||
|
persistentVolumeClaim:
|
||
|
claimName: uptime-kuma-data
|