Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ContainerFilesystems (0.25 sec)

  1. pkg/kubelet/container/container_gc.go

    	resp, err := cgc.runtime.ImageFsInfo(ctx)
    	if err != nil {
    		return false
    	}
    	// These fields can be empty if CRI implementation didn't populate.
    	if resp.ContainerFilesystems == nil || resp.ImageFilesystems == nil || len(resp.ContainerFilesystems) == 0 || len(resp.ImageFilesystems) == 0 {
    		return false
    	}
    	// KEP 4191 explains that multiple filesystems for images and containers is not
    	// supported at the moment.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/cadvisor_stats_provider.go

    	}
    	splitFileSystem := false
    	if imageStats.ImageFilesystems[0].FsId.Mountpoint != imageStats.ContainerFilesystems[0].FsId.Mountpoint {
    		klog.InfoS("Detect Split Filesystem", "ImageFilesystems", imageStats.ImageFilesystems[0], "ContainerFilesystems", imageStats.ContainerFilesystems[0])
    		splitFileSystem = true
    	}
    	imageFs := imageStats.ImageFilesystems[0]
    	var imageFsInodesUsed *uint64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 16 13:34:22 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    		InodesUsed: &runtimeapi.UInt64Value{Value: *imageFsInfo.Inodes},
    	}
    	imageFsInfoResponse := &runtimeapi.ImageFsInfoResponse{
    		ImageFilesystems:     []*runtimeapi.FilesystemUsage{imageFsInfoCRI},
    		ContainerFilesystems: []*runtimeapi.FilesystemUsage{imageFsInfoCRI},
    	}
    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.KubeletSeparateDiskGC, true)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. pkg/kubelet/container/testing/fake_runtime.go

    	f.Lock()
    	defer f.Unlock()
    
    	f.CalledFunctions = append(f.CalledFunctions, "ImageFsInfo")
    	resp := &runtimeapi.ImageFsInfoResponse{
    		ImageFilesystems:     f.ImageFsStats,
    		ContainerFilesystems: f.ContainerFsStats,
    	}
    	return resp, f.Err
    }
    
    func (f *FakeStreamingRuntime) GetExec(_ context.Context, id kubecontainer.ContainerID, cmd []string, stdin, stdout, stderr, tty bool) (*url.URL, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 00:23:50 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top