K8

Kubernetes

Kubernetes Engineer·working
EKS Lab · prod-eks

payment-api restart loop

payment-api restart ทุก 5 นาที ช่วยดูให้หน่อย
09:36
K8
Kubernetes09:36

I'll inspect the workload.

Read deployment manifest
Inspect pod events
Analyze container logs3 pods
Checking Helm values

The pods are restarting because the liveness probe begins at 30 seconds, while application startup is taking 44–52 seconds after the latest release. Kubernetes kills the container before it becomes ready.

Warning Unhealthy · Liveness probe failed
Get http://10.18.7.24:8080/health: connection refused

I recommend adding a startup probe and leaving the liveness threshold unchanged. After the manifest is applied, the workload needs one controlled restart.

Approval required
Kubernetes Agent wants to perform a write action
Command
kubectl rollout restart deployment/payment-api
Environment
prod-eks
Namespace
payment-prod
Apply the proposed remediation after updating the startup probe.
Lyra v0.1 · UI prototype · Responses and tool states are simulated