fix liveness probe

This commit is contained in:
sirius0xdev 2026-05-04 22:56:39 +00:00
parent 200e5c2938
commit 86a3ae58c5

View file

@ -22,22 +22,22 @@ spec:
resources: resources:
requests: requests:
cpu: 10m cpu: 10m
memory: 32Mi memory: 100Mi
limits: limits:
cpu: 50m cpu: 50m
memory: 64Mi memory: 150Mi
readinessProbe: readinessProbe:
httpGet: httpGet:
path: / # or /index.html if needed path: / # or /index.html if needed
port: 8080 port: 8080
initialDelaySeconds: 5 initialDelaySeconds: 30
periodSeconds: 10 periodSeconds: 30
livenessProbe: livenessProbe:
httpGet: httpGet:
path: / path: /
port: 8080 port: 8080
initialDelaySeconds: 10 initialDelaySeconds: 30
periodSeconds: 20 periodSeconds: 30
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service