From 76d8f139900f864a7cac54cff19dd12c2f27a939 Mon Sep 17 00:00:00 2001 From: zyy17 Date: Tue, 12 Nov 2024 16:47:37 +0800 Subject: [PATCH] fix: add StartTime (#212) --- pkg/apiserver/apiserver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/apiserver/apiserver.go b/pkg/apiserver/apiserver.go index 69a13b9..11b28af 100644 --- a/pkg/apiserver/apiserver.go +++ b/pkg/apiserver/apiserver.go @@ -368,6 +368,7 @@ func (s *Server) buildPod(internalPod *corev1.Pod, podMetrics *podmetricsv1beta1 IP: internalPod.Status.PodIP, Status: string(internalPod.Status.Phase), Node: internalPod.Spec.NodeName, + StartTime: internalPod.Status.StartTime, } var resources []*Resource