Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for PodAndContainerStatsFromCRI (0.38 sec)

  1. pkg/kubelet/stats/provider.go

    	imageService internalapi.ImageManagerService,
    	hostStatsProvider HostStatsProvider,
    	podAndContainerStatsFromCRI bool,
    ) *Provider {
    	return newStatsProvider(cadvisor, podManager, runtimeCache, newCRIStatsProvider(cadvisor, resourceAnalyzer,
    		runtimeService, imageService, hostStatsProvider, podAndContainerStatsFromCRI))
    }
    
    // NewCadvisorStatsProvider returns a containerStatsProvider that provides both
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 13:56:22 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. CHANGELOG/CHANGELOG-1.30.md

       ([#122068](https://github.com/kubernetes/kubernetes/pull/122068), [@caohe](https://github.com/caohe))
    - Fixed an issue where `AvailableBytes` sometimes did not report correctly on WindowsNodes when the `PodAndContainerStatsFromCRI` feature was enabled.
       ([#122846](https://github.com/kubernetes/kubernetes/pull/122846), [@marosset](https://github.com/marosset))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 04:05:28 UTC 2024
    - 253.2K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet.go

    			klet.podManager,
    			klet.runtimeCache,
    			kubeDeps.RemoteRuntimeService,
    			kubeDeps.RemoteImageService,
    			hostStatsProvider,
    			utilfeature.DefaultFeatureGate.Enabled(features.PodAndContainerStatsFromCRI))
    	}
    
    	eventChannel := make(chan *pleg.PodLifecycleEvent, plegChannelCapacity)
    
    	if utilfeature.DefaultFeatureGate.Enabled(features.EventedPLEG) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.23.md

    - Added ability for `kubectl wait` to wait on arbitary JSON path ([#105776](https://github.com/kubernetes/kubernetes/pull/105776), [@lauchokyip](https://github.com/lauchokyip))
    - Added support for `PodAndContainerStatsFromCRI` feature gate, which allows a user to specify their pod stats must also come from the CRI, not `cAdvisor`. ([#103095](https://github.com/kubernetes/kubernetes/pull/103095), [@haircommander](https://github.com/haircommander))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 28 21:06:52 UTC 2023
    - 424.5K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.26.md

    - Fixed the `PodAndContainerStatsFromCRI` feature, instead of supplementing with stats from cAdvisor. ([#113291](https://github.com/kubernetes/kubernetes/pull/113291), [@mengjiao-liu](https://github.com/mengjiao-liu))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
Back to top