34 lines
828 B
YAML
34 lines
828 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: app
|
||
|
spec:
|
||
|
template:
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: uptime-kuma
|
||
|
image: louislam/uptime-kuma:1
|
||
|
imagePullPolicy: IfNotPresent
|
||
|
ports:
|
||
|
- containerPort: 3001
|
||
|
name: uptime-kuma
|
||
|
livenessProbe:
|
||
|
tcpSocket:
|
||
|
port: uptime-kuma
|
||
|
initialDelaySeconds: 60
|
||
|
periodSeconds: 10
|
||
|
readinessProbe:
|
||
|
httpGet:
|
||
|
scheme: HTTP
|
||
|
path: /
|
||
|
port: uptime-kuma
|
||
|
initialDelaySeconds: 30
|
||
|
periodSeconds: 10
|
||
|
volumeMounts:
|
||
|
- name: data
|
||
|
mountPath: /app/data
|
||
|
volumes:
|
||
|
- name: data
|
||
|
persistentVolumeClaim:
|
||
|
claimName: uptime-kuma-pvc
|