A pod that is Running but not 1/ is alive and out of Service rotation, so Console screens and API calls fail while kubectl get pods looks healthy.
Read RESTARTS first, then inspect /readyz on the pod. A climbing restart count is a boot failure, draining is routine during rollouts, starting means the pod is still building, lane_check_pending on an indexer pod means its first lane check has not finished, and degraded names the verdict holding the pod out. Never restart a pod for a postgres verdict.
Symptoms
kubectl get podsshows a Platform API, indexer, Workflow Engine or scheduler podRunningbut not1/.1 Ready - A Helm install or upgrade hangs waiting for rollout readiness, then fails with a progress deadline error.
- Console or API requests return connection errors or
503responses while every pod showsRunning.
Four checks sort a Platform API pod into a boot failure, a drain, a start in progress or a degraded verdict, and only one path ends in a manual restart.
Checks
-
Locate pods by role and rule out a crash loop. List pods by
app.and inspectkubernetes. io/ component READYandRESTARTS:kubectl -n dalp get pods -l 'app.kubernetes.io/component in (api-v1,api-v2,indexer,indexer-rebuild,runner,scheduler)'Healthy value: a
RESTARTScount that stays flat. A lightweight boot shell binds port3001immediately sostartupProbepasses in milliseconds, while the Platform API allows up to 10 minutes to build its application graph before exiting. A climbing restart count means a boot failure, not a readiness problem: read the previous container logs first and stop investigating readiness until the pod stays up:kubectl -n dalp logs --previous <pod> -
Read
/readyzon the failing pod. Forward the pod's HTTP port (3001by default) and query/readyz:kubectl -n dalp port-forward pod/<pod> 13001:3001 & curl -i http://127.0.0.1:13001/readyzRoute by role and status:
- Platform API (
api-v1,api-v2):draininggoes to Check 3,startinggoes to Check 4, anddegradedgoes to Check 5. - Indexer (
indexer,indexer-rebuild):503withstatus: "lane_means the pod's first lane check has not finished yet. Search its logs forcheck_ pending" Indexer lane check failed; retrying, whereerror_detailnames the failing step asoperation=plus the database error.503withdrainingis Check 3. Once the first lane check finishes,/readyzreturns200(empty body) while running, even if a chain parks. - Workflow Engine (
runner): returns200(ok) or503(draining). Read its logs andRESTARTS. - Scheduler (
scheduler): returns200(ok),503(draining) or503(bank-). Infix- simulator- unavailable externalbank rail mode,okincludes abankFixsummary (not-logged-onkeeps the pod Ready and logs reconnect warnings).
- Platform API (
-
Check whether the pod is arriving or leaving. Compare pod age against
status: "draining". A shutting-down pod marks itself not-Ready immediately to avoid racing a closing pool.Normal rollout limits: Platform API adds one surge pod before removing old pods, indexer replaces one pod at a time with a 90-second
minReadySecondswait, and Workflow Engine usesRecreate(briefly pausing durable work during boot). Having zeroReadyPlatform API replicas is a full serving outage: work Checks 1, 2 and 4 on the newest pod. -
Check the boot phase on a
startingpod. Readreasonalongsidestatus: "starting".application-buildingis the graph build, capped at 10 minutes. If it wedges past 10 minutes, the pod exits andRESTARTSclimbs (return to Check 1). -
Read the failing dependency verdict on a
degradedPlatform API pod. Checkpostgres,durableandindexer, plus theirreasonstokens:postgres: The probe uses a dedicated connection on the isolateddalp_probePgBouncer alias that application traffic never shares. A failing verdict means Postgres or PgBouncer itself is impaired. Check PgBouncer pods and Postgres health (kubectl -).n dalp get pods - l app. kubernetes. io/ name=pgbouncer durable: The in-pod work-scheduling cluster backed by Postgres.runner_shutting_downorrunner_unavailableoutside an expected rollout indicates a wedged or shutting-down cluster.indexer: The pod needs a servable indexed schema published by the indexer.serving_schema_unboundmeans the pod waits (with no timeout) for the indexer to publish one, including on a fresh install.bump_window_blockedmeans a release rebuild holds the bind. Inspect the indexer pod logs:
kubectl -n dalp logs -l 'app.kubernetes.io/component in (indexer,indexer-rebuild)' --tail=200
Actions
-
Climbing
RESTARTS: Fix the boot error fromkubectl -before looking at readiness.n dalp logs -- previous <pod> -
Failing
postgresverdict: Fix PostgreSQL or PgBouncer and do not restart the Platform API pod. It reconnects on its own and returns to rotation after one passing probe (up to 15 seconds after recovery, after removal takes about 45 seconds across three 15-second probes). -
lane_check_pendingstuck on an indexer pod: ReadIndexer lane check failed; retryingin the indexer logs and repair the database or migration fault named inoperation=anderror_detail. -
serving_schema_unboundon a Platform API pod: Diagnose the indexer pods (RESTARTSand logs), not the Platform API pod. Schema publication runs inside the indexer process, not in a Kubernetes Job (kubectl get jobsshows nothing for it), and restarting the Platform API pod only restarts the wait. -
Parked chain while indexer pods stay
Ready: Search indexer logs forEVM span chain parked; its siblings continueand follow Ledger indexing stalled. Restarting or scaling Platform API pods does not affect indexing. -
Failing
durableverdict whilepostgresandindexerareok: Capture evidence first, then delete the wedged pod so Kubernetes replaces it:kubectl -n dalp describe pod <pod> > pod-describe.txt kubectl -n dalp logs <pod> > pod-logs.txt kubectl -n dalp delete pod <pod> -
bank-on a scheduler pod: Freefix- simulator- unavailable bankor fixFix. simulator. listen Port listenHost, then restart the scheduler pod because the simulator does not retry binding the port.
Verify recovery
Confirm the pod reaches 1/, /readyz returns 200, and Console and API requests succeed:
kubectl -n dalp get pods -l 'app.kubernetes.io/component in (api-v1,api-v2,indexer,indexer-rebuild,runner,scheduler)'Escalate
If the same pod wedges again after a restart, escalate to your DALP support contact with pod-logs.txt, pod-describe.txt and the failing /readyz JSON payload. A repeating wedge points to a platform defect.
How readiness works by role
This runbook covers the four backend roles of a DALP instance: the Platform API (api-v1, api-v2), the Ledger Data indexer (indexer, indexer-rebuild), the Workflow Engine (runner) and the scheduler (scheduler).
- Platform API: Reports boot phases (
starting) and live dependency verdicts (postgres,durable,indexer) on/readyz. - Indexer: Returns
200on/healthzwhile running. Returns503(lane_check_pending) on/readyzuntil its first lane check completes, whether that check starts or refuses its lanes, keeping old pods serving during rollouts. After the first check completes,/readyzreturns200for the rest of the pod's life (switching to503drainingon shutdown) and never reports chain lag or parked chains. - Workflow Engine (
runner): Returns200(ok) while running and503(draining) while shutting down. UseRESTARTSand logs to diagnose failures. - Scheduler: Returns
200(ok) or503(draining), plus two bank rail states. Insimulatormode, bind failures return503(bank-) withfix- simulator- unavailable reason. Inexternalmode, the active pod appends abankFixobject (sessions,loggedOn,status: "logged-oron" "not-logged-on"). Anot-logged-onsession keeps the pod Ready while the scheduler reconnects and logsThe bank FIX session to the bank ended; reconnecting.(Set up a connection).
Frequently asked questions
Why does Kubernetes leave a not-Ready pod running instead of restarting it?
Readiness and liveness answer different questions. Readiness controls traffic routing for recoverable dependency waits so a brief database blip does not cold-start the fleet. Liveness detects a wedged process that only a restart can fix.
Platform API and indexer liveness probes check a dedicated heartbeat port (3002), failing when the heartbeat goes stale for 30 seconds. The Workflow Engine checks liveness from its main loop. On both workers, four failed probes 10 seconds apart trigger a restart. No liveness probe checks external dependencies.
Can I point the startup probe at the readiness endpoint to enforce the boot budget?
No. On a Platform API pod, the process already enforces its own 10-minute graph-build timeout, while /readyz checks Postgres and schema binding, so startupProbe checks /healthz to avoid restarting pods waiting on dependencies. On an indexer pod, /readyz returns 503 (lane_check_pending) until its first lane check finishes, so pointing startupProbe at /readyz would restart a pod waiting on the database instead of keeping old pods serving while the new pod waits out of rotation.
Why did my Helm upgrade fail on a deadline while every pod showed Running?
Rollout progress counts Ready pods and times out after progressDeadlineSeconds (25 minutes by default). Platform API rollouts keep old replicas serving while the new pod boots, so you can inspect the new pod's /readyz without service impact. Indexer rollouts take one pod down at a time and Workflow Engine rollouts stop all old pods first, so diagnose those promptly using the new pod's /readyz and logs before deciding whether to roll back.
Is it safe to poll the readiness endpoint myself?
Yes. The kubelet polls the same read-only endpoint, which uses in-memory state plus a persistent Postgres health session on the isolated dalp_probe pool (8-second query budget inside a 10-second probe timeout every 15 seconds). Avoid rapid loops during an incident. /readyz shows one pod's view only. For an instance-wide summary, open Platform Health in the Console.