fix: show platform infra pod readiness details

This commit is contained in:
Codex
2026-06-09 02:27:34 +00:00
parent 80ef698498
commit 078cf4cb15
+21
View File
@@ -556,9 +556,30 @@ def pod_summary(item):
"restartCount": cs.get("restartCount"),
"image": cs.get("image"),
"state": list((cs.get("state") or {}).keys()),
"stateDetail": cs.get("state") or {},
}
for cs in container_statuses
],
"initContainers": [
{
"name": cs.get("name"),
"ready": cs.get("ready"),
"restartCount": cs.get("restartCount"),
"image": cs.get("image"),
"state": list((cs.get("state") or {}).keys()),
"stateDetail": cs.get("state") or {},
}
for cs in (status.get("initContainerStatuses") or [])
],
"conditions": [
{
"type": condition.get("type"),
"status": condition.get("status"),
"reason": condition.get("reason"),
"message": condition.get("message"),
}
for condition in status.get("conditions", [])
],
}
def service_summary(item):