Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for minCodes (0.15 sec)

  1. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    	assert.Equal(imageFsInfo.Capacity, *stats.CapacityBytes)
    	assert.Equal(imageStats.TotalStorageBytes, *stats.UsedBytes)
    	assert.Equal(imageFsInfo.InodesFree, stats.InodesFree)
    	assert.Equal(imageFsInfo.Inodes, stats.Inodes)
    	assert.Equal(*imageFsInfo.Inodes-*imageFsInfo.InodesFree, *stats.InodesUsed)
    }
    
    func TestCadvisorImagesFsStats(t *testing.T) {
    	ctx := context.Background()
    	mockCtrl := gomock.NewController(t)
    	defer mockCtrl.Finish()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/helper.go

    		AvailableBytes: &rootFs.Available,
    		CapacityBytes:  &rootFs.Capacity,
    		InodesFree:     rootFs.InodesFree,
    		Inodes:         rootFs.Inodes,
    	}
    
    	if rootFs.Inodes != nil && rootFs.InodesFree != nil {
    		logsInodesUsed := *rootFs.Inodes - *rootFs.InodesFree
    		fsStats.InodesUsed = &logsInodesUsed
    	}
    	return fsStats
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 23:40:02 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cadvisor_stats_provider.go

    		InodesFree:     imageFsInfo.InodesFree,
    		Inodes:         imageFsInfo.Inodes,
    		InodesUsed:     imageFsInodesUsed,
    	}
    	if !splitFileSystem {
    		return fsStats, fsStats, nil
    	}
    
    	containerFs := imageStats.ContainerFilesystems[0]
    	var containerFsInodesUsed *uint64
    	if containerFsInfo.Inodes != nil && containerFsInfo.InodesFree != nil {
    		containerFsIU := *containerFsInfo.Inodes - *containerFsInfo.InodesFree
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 16 13:34:22 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  4. pkg/kubelet/stats/provider_test.go

    		Usage:      uint64(seed + offsetFsUsage),
    		Inodes:     &inodes,
    		InodesFree: &inodesFree,
    	}
    }
    
    func getPodVolumeStats(seed int, volumeName string) statsapi.VolumeStats {
    	availableBytes := uint64(seed + offsetFsAvailable)
    	capacityBytes := uint64(seed + offsetFsCapacity)
    	usedBytes := uint64(seed + offsetFsUsage)
    	inodes := uint64(seed + offsetFsInodes)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. pkg/volume/volume.go

    	// InodesUsed represents the total inodes used by the Volume.
    	InodesUsed *resource.Quantity
    
    	// Inodes represents the total number of inodes available in the volume.
    	// For volumes that share a filesystem with the host (e.g. emptydir, hostpath),
    	// this is the inodes available in the underlying storage,
    	// and will not equal InodesUsed + InodesFree as the fs is shared.
    	Inodes *resource.Quantity
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. pkg/kubelet/stats/cri_stats_provider.go

    		imageFsRet.AvailableBytes = &imageFsInfo.Available
    		imageFsRet.CapacityBytes = &imageFsInfo.Capacity
    		imageFsRet.InodesFree = imageFsInfo.InodesFree
    		imageFsRet.Inodes = imageFsInfo.Inodes
    	}
    	// TODO: For CRI Stats Provider we don't support separate disks yet.
    	return imageFsRet, imageFsRet, nil
    }
    
    // ImageFsDevice returns name of the device where the image filesystem locates,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  7. pkg/volume/util/fsquota/quota_linux.go

    	applier := getApplier(path)
    	// No applier means directory is not under quota management
    	if applier == nil {
    		return nil, nil
    	}
    	inodes, err := applier.GetInodes(path, dirQuotaMap[path])
    	if err != nil {
    		return nil, err
    	}
    	return resource.NewQuantity(inodes, resource.DecimalSI), nil
    }
    
    // ClearQuota -- remove the quota assigned to a directory
    func ClearQuota(m mount.Interface, path string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 07 08:07:51 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  8. cmd/metrics-resource.go

    		percUtil:          "Percentage of time the disk was busy",
    		usedBytes:         "Used bytes on a drive",
    		totalBytes:        "Total bytes on a drive",
    		usedInodes:        "Total inodes used on a drive",
    		totalInodes:       "Total inodes on a drive",
    		cpuUser:           "CPU user time",
    		cpuSystem:         "CPU system time",
    		cpuIdle:           "CPU idle time",
    		cpuIOWait:         "CPU ioWait time",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/preemption/preemption.go

    // 5. If there are still ties, node with the latest start time of all highest priority victims is picked.
    // 6. If there are still ties, the first such node is picked (sort of randomly).
    // The 'minNodes1' and 'minNodes2' are being reused here to save the memory
    // allocation and garbage collection time.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  10. docs/metrics/prometheus/list.md

    | `minio_node_drive_used_bytes`        | Used bytes on a drive.                                   |
    | `minio_node_drive_total_inodes`      | Total inodes on a drive.                                 |
    | `minio_node_drive_used_inodes`       | Total inodes used on a drive.                            |
    | `minio_node_drive_reads_per_sec`     | Reads per second on a drive.                             |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 43.3K bytes
    - Viewed (0)
Back to top