- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ListPodCPUAndMemoryStats (0.34 sec)
-
pkg/kubelet/stats/provider.go
type containerStatsProvider interface { ListPodStats(ctx context.Context) ([]statsapi.PodStats, error) ListPodStatsAndUpdateCPUNanoCoreUsage(ctx context.Context) ([]statsapi.PodStats, error) ListPodCPUAndMemoryStats(ctx context.Context) ([]statsapi.PodStats, error) ImageFsStats(ctx context.Context) (*statsapi.FsStats, *statsapi.FsStats, error) ImageFsDevice(ctx context.Context) (string, error) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 13:56:22 UTC 2023 - 7.4K bytes - Viewed (0) -
pkg/kubelet/server/stats/summary.go
rootStats, err := sp.provider.GetCgroupCPUAndMemoryStats("/", false) if err != nil { return nil, fmt.Errorf("failed to get root cgroup stats: %v", err) } podStats, err := sp.provider.ListPodCPUAndMemoryStats(ctx) if err != nil { return nil, fmt.Errorf("failed to list pod stats: %v", err) } nodeStats := statsapi.NodeStats{ NodeName: node.Name, CPU: rootStats.CPU,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 5.1K bytes - Viewed (0) -
pkg/kubelet/server/stats/handler.go
ListPodStats(ctx context.Context) ([]statsapi.PodStats, error) // ListPodStatsAndUpdateCPUNanoCoreUsage updates the cpu nano core usage for // the containers and returns the stats for all the pod-managed containers. ListPodCPUAndMemoryStats(ctx context.Context) ([]statsapi.PodStats, error) // ListPodStatsAndUpdateCPUNanoCoreUsage returns the stats of all the // containers managed by pods and force update the cpu usageNanoCores.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 14 21:31:38 UTC 2023 - 6.8K bytes - Viewed (0)