Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 560 for rootfs (0.18 sec)

  1. pkg/kubelet/stats/helper.go

    }
    
    func buildLogsStats(cstat *cadvisorapiv2.ContainerStats, rootFs *cadvisorapiv2.FsInfo) *statsapi.FsStats {
    	fsStats := &statsapi.FsStats{
    		Time:           metav1.NewTime(cstat.Timestamp),
    		AvailableBytes: &rootFs.Available,
    		CapacityBytes:  &rootFs.Capacity,
    		InodesFree:     rootFs.InodesFree,
    		Inodes:         rootFs.Inodes,
    	}
    
    	if rootFs.Inodes != nil && rootFs.InodesFree != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 23:40:02 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/chroot_unix.go

    // NB: All file paths after this call are effectively relative to
    // `rootfs`
    func Chroot(rootfs string) error {
    	if err := syscall.Chroot(rootfs); err != nil {
    		return errors.Wrapf(err, "unable to chroot to %s", rootfs)
    	}
    	root := filepath.FromSlash("/")
    	if err := os.Chdir(root); err != nil {
    		return errors.Wrapf(err, "unable to chdir to %s", root)
    	}
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  3. src/cmd/relnote/relnote_test.go

    func TestCheckAPIFragments(t *testing.T) {
    	if !*flagCheck {
    		t.Skip("-check not specified")
    	}
    	root := testenv.GOROOT(t)
    	rootFS := os.DirFS(root)
    	files, err := fs.Glob(rootFS, "api/next/*.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	t.Logf("checking release notes for %d files in api/next", len(files))
    	docFS := os.DirFS(filepath.Join(root, "doc", "next"))
    	// Check that each api/next file has a corresponding release note fragment.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 16:31:53 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    		t.Errorf("makeWinContainerStats() Memory = %v, want %v", got.Memory, expected.Memory)
    	}
    
    	if !reflect.DeepEqual(got.Rootfs, expected.Rootfs) {
    		t.Errorf("makeWinContainerStats() Rootfs = %v, want %v", got.Rootfs, expected.Rootfs)
    	}
    
    	// Log stats contain pointers to calculated resource values so we cannot use DeepEqual here
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. cluster/gce/gci/mounter/mounter.go

    	chrootCmd        = "chroot"
    	mountCmd         = "mount"
    	rootfs           = "rootfs"
    	nfsRPCBindErrMsg = "mount.nfs: rpc.statd is not running but is required for remote locking.\nmount.nfs: Either use '-o nolock' to keep locks local, or start statd.\nmount.nfs: an incorrect mount option was specified\n"
    	rpcBindCmd       = "/sbin/rpcbind"
    	defaultRootfs    = "/home/kubernetes/containerized_mounter/rootfs"
    )
    
    func main() {
    
    	if len(os.Args) < 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 20 22:26:16 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  6. pkg/volume/iscsi/OWNERS

    # See the OWNERS docs at https://go.k8s.io/owners
    
    approvers:
      - saad-ali
      - humblec
    reviewers:
      - saad-ali
      - jsafrane
      - humblec
      - jingxu97
      - msau42
    emeritus_approvers:
      - rootfs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 10 13:14:29 UTC 2022
    - 202 bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/chroot_windows.go

    limitations under the License.
    */
    
    package util
    
    import (
    	"github.com/pkg/errors"
    )
    
    // Chroot chroot()s to the new path.
    // NB: All file paths after this call are effectively relative to
    // `rootfs`
    func Chroot(rootfs string) error {
    	return errors.New("chroot is not implemented on Windows")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 871 bytes
    - Viewed (0)
  8. pkg/volume/fc/OWNERS

    # See the OWNERS docs at https://go.k8s.io/owners
    
    approvers:
      - saad-ali
    reviewers:
      - saad-ali
      - jsafrane
      - jingxu97
      - msau42
    emeritus_approvers:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 15 15:34:02 UTC 2021
    - 167 bytes
    - Viewed (0)
  9. pkg/kubelet/stats/cri_stats_provider_windows.go

    		result.Memory.AvailableBytes = uint64Ptr(0)
    		result.Memory.PageFaults = uint64Ptr(0)
    	}
    	if stats.WritableLayer != nil {
    		result.Rootfs.Time = metav1.NewTime(time.Unix(0, stats.WritableLayer.Timestamp))
    		if stats.WritableLayer.UsedBytes != nil {
    			result.Rootfs.UsedBytes = &stats.WritableLayer.UsedBytes.Value
    		}
    	}
    	var err error
    	fsID := stats.GetWritableLayer().GetFsId()
    	if fsID != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 07:03:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/cri_stats_provider_test.go

    	assert.Equal(cs.WritableLayer.Timestamp, actual.Rootfs.Time.UnixNano())
    	if imageFsInfo != nil {
    		assert.Equal(imageFsInfo.Available, *actual.Rootfs.AvailableBytes)
    		assert.Equal(imageFsInfo.Capacity, *actual.Rootfs.CapacityBytes)
    		assert.Equal(*imageFsInfo.InodesFree, *actual.Rootfs.InodesFree)
    		assert.Equal(*imageFsInfo.Inodes, *actual.Rootfs.Inodes)
    	} else {
    		assert.Nil(actual.Rootfs.AvailableBytes)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top