- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ContainerFsStats (0.24 sec)
-
pkg/kubelet/container/testing/fake_runtime.go
f.CalledFunctions = append(f.CalledFunctions, "ListPodSandboxMetrics") return nil, f.Err } // SetContainerFsStats sets the containerFsStats for dependency injection. func (f *FakeRuntime) SetContainerFsStats(val []*runtimeapi.FilesystemUsage) { f.ContainerFsStats = val } // SetImageFsStats sets the ImageFsStats for dependency injection. func (f *FakeRuntime) SetImageFsStats(val []*runtimeapi.FilesystemUsage) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 00:23:50 UTC 2024 - 13.9K bytes - Viewed (0) -
pkg/kubelet/server/stats/summary.go
return nil, fmt.Errorf("failed to get root cgroup stats: %v", err) } rootFsStats, err := sp.provider.RootFsStats() if err != nil { return nil, fmt.Errorf("failed to get rootFs stats: %v", err) } imageFsStats, containerFsStats, err := sp.provider.ImageFsStats(ctx) if err != nil { return nil, fmt.Errorf("failed to get imageFs stats: %v", err) } var podStats []statsapi.PodStats if updateStats {
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/stats/provider_test.go
dedicated: false, imageFsStats: imageStatsExpected, containerFsStats: imageStatsExpected, }, "split filesystem for images": { rootfsDevice: "root/device", imagefsDevice: "root/device", dedicated: true, imageFsStats: &statsapi.FsStats{AvailableBytes: uint64Ptr(1)}, containerFsStats: &statsapi.FsStats{AvailableBytes: uint64Ptr(2)}, }, } {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 20K bytes - Viewed (0) -
pkg/kubelet/eviction/eviction_manager_test.go
}) } } } func TestDiskPressureNodeFs_VerifyPodStatus(t *testing.T) { testCases := map[string]struct { nodeFsStats string imageFsStats string containerFsStats string evictionMessage string kubeletSeparateDiskFeature bool writeableSeparateFromReadOnly bool thresholdToMonitor evictionapi.Threshold
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 119.9K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers_test.go
}, MinReclaim: &evictionapi.ThresholdValue{ Quantity: quantityMustParse("2Gi"), }, }, }, }, { description: "single filesystem; existing containerfsstats", imageFs: false, containerFs: false, expectErr: true, expectedContainerFsHard: evictionapi.Threshold{ Signal: evictionapi.SignalContainerFsAvailable,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 106.7K bytes - Viewed (0)