- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 55 for minCodes (0.23 sec)
-
pkg/kubelet/eviction/api/types.go
// SignalNodeFsAvailable is amount of storage available on filesystem that kubelet uses for volumes, daemon logs, etc. SignalNodeFsAvailable Signal = "nodefs.available" // SignalNodeFsInodesFree is amount of inodes available on filesystem that kubelet uses for volumes, daemon logs, etc. SignalNodeFsInodesFree Signal = "nodefs.inodesFree"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 5.7K bytes - Viewed (0) -
pkg/volume/util/fs/fs_unsupported.go
See the License for the specific language governing permissions and limitations under the License. */ package fs import ( "fmt" ) type UsageInfo struct { Bytes int64 Inodes int64 } // Info unsupported returns 0 values for available and capacity and an error. func Info(path string) (int64, int64, int64, int64, int64, int64, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1.1K bytes - Viewed (0) -
cmd/metrics-v3-system-drive.go
driveUsedInodesMD = NewGaugeMD(driveUsedInodes, "Total used inodes on a drive", allDriveLabels...) driveFreeInodesMD = NewGaugeMD(driveFreeInodes, "Total free inodes on a drive", allDriveLabels...) driveTotalInodesMD = NewGaugeMD(driveTotalInodes, "Total inodes available on a drive", allDriveLabels...) driveTimeoutErrorsMD = NewCounterMD(driveTimeoutErrorsTotal,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun May 12 17:23:50 UTC 2024 - 7.9K bytes - Viewed (0) -
cni/pkg/nodeagent/pod_cache_test.go
) func openNsTestOverride(s string) (NetnsCloser, error) { return newFakeNs(inc()), nil } func openNsTestOverrideWithInodes(inodes ...uint64) func(s string) (NetnsCloser, error) { i := 0 return func(s string) (NetnsCloser, error) { inode := inodes[i] i++ return newFakeNsInode(inc(), inode), nil } } func TestUpsertPodCache(t *testing.T) { counter.Store(0)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 4.2K bytes - Viewed (0) -
pkg/volume/util/fsquota/common/quota_common_linux_impl.go
bytes, err := v.GetConsumption(v.mountpoint, id) if err != nil { return false, err } if bytes > 0 { return true, nil } inodes, err := v.GetInodes(v.mountpoint, id) return inodes > 0, err
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 9.1K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_test.go
usedBytes := rand.Uint64() / 100 inodes := rand.Uint64() inodesFree := rand.Uint64() inodesUsed := rand.Uint64() / 100 for i, name := range volumeNames { fsStats := statsapi.FsStats{ Time: metav1.NewTime(time.Now()), AvailableBytes: &availableBytes, CapacityBytes: &capacityBytes, UsedBytes: &usedBytes, Inodes: &inodes, InodesFree: &inodesFree,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 54.5K bytes - Viewed (0) -
pkg/kubelet/stats/host_stats_provider.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 17:55:59 UTC 2024 - 6.6K bytes - Viewed (0) -
src/os/dir_unix.go
break } // When building to wasip1, the host runtime might be running on Windows // or might expose a remote file system which does not have the concept // of inodes. Therefore, we cannot make the assumption that it is safe // to skip entries with zero inodes. if ino == 0 && runtime.GOOS != "wasip1" { continue } const namoff = uint64(unsafe.Offsetof(syscall.Dirent{}.Name)) namlen, ok := direntNamlen(rec)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 20:11:45 UTC 2024 - 4.8K bytes - Viewed (0) -
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) -
pkg/volume/util/fsquota/common/quota_common_linux.go
// it should return an error and allow higher layers to // enumerate the directory. GetConsumption(path string, id QuotaID) (int64, error) // GetInodes returns the number of inodes used by the // directory, determined by the implementation's quota-based // mechanism. If it is unable to do so using that mechanism, // it should return an error and allow higher layers to // enumerate the directory.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 28 06:09:31 UTC 2023 - 3.2K bytes - Viewed (0)