health check for paaas

This commit is contained in:
sirius0xdev 2026-04-28 04:44:20 +00:00
parent 205c43f7c2
commit d61f2a2e3b

View file

@ -26,6 +26,18 @@ spec:
limits:
cpu: 50m
memory: 64Mi
readinessProbe:
httpGet:
path: / # or /index.html if needed
port: 80
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 10
periodSeconds: 20
---
apiVersion: v1
kind: Service