mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-02 11:16:14 -05:00
reolved suggestions from @srgvg and @louislam
This commit is contained in:
parent
60b0ee2959
commit
b41799f801
@ -8,12 +8,9 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
component: uptime-kuma
|
component: uptime-kuma
|
||||||
replicas: 3
|
replicas: 1
|
||||||
strategy:
|
strategy:
|
||||||
rollingUpdate:
|
type: Recreate
|
||||||
maxSurge: 1
|
|
||||||
maxUnavailable: 1
|
|
||||||
type: RollingUpdate
|
|
||||||
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
@ -28,6 +25,17 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /app/data
|
- mountPath: /app/data
|
||||||
name: uptime-kuma-storage
|
name: uptime-kuma-storage
|
||||||
|
livenessProbe:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- node
|
||||||
|
- extra/healthcheck.js
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: 3001
|
||||||
|
scheme: HTTP
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: uptime-kuma-storage
|
- name: uptime-kuma-storage
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
Loading…
Reference in New Issue
Block a user