- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PodAndContainerStatsFromCRI (0.56 sec)
-
pkg/kubelet/stats/cri_stats_provider.go
cpuUsageCache: make(map[string]*cpuUsageRecord), podAndContainerStatsFromCRI: podAndContainerStatsFromCRI, clock: clock.RealClock{}, } } // ListPodStats returns the stats of all the pod-managed containers. func (p *criStatsProvider) ListPodStats(ctx context.Context) ([]statsapi.PodStats, error) { // Don't update CPU nano core usage. return p.listPodStats(ctx, false) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 35.1K bytes - Viewed (0) -
pkg/features/kube_features.go
// Requires the CRI implementation supports supplying the required stats. PodAndContainerStatsFromCRI featuregate.Feature = "PodAndContainerStatsFromCRI" // owner: @ahg-g // alpha: v1.21 // beta: v1.22 // // Enables controlling pod ranking on replicaset scale-down.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 22:51:23 UTC 2024 - 45.2K bytes - Viewed (0) -
pkg/kubelet/server/server.go
r := compbasemetrics.NewKubeRegistry() r.RawMustRegister(metrics.NewPrometheusMachineCollector(prometheusHostAdapter{s.host}, includedMetrics)) if utilfeature.DefaultFeatureGate.Enabled(features.PodAndContainerStatsFromCRI) { r.CustomRegister(collectors.NewCRIMetricsCollector(context.TODO(), s.host.ListPodSandboxMetrics, s.host.ListMetricDescriptors)) } else { cadvisorOpts := cadvisorv2.RequestOptions{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 40.1K bytes - Viewed (0)