Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for inodesfree (0.14 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)
    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/provider_test.go

    	inodes := uint64(seed + offsetFsInodes)
    	inodesFree := uint64(seed + offsetFsInodesFree)
    	inodesUsed := uint64(seed + offsetFsInodeUsage)
    	fsStats := statsapi.FsStats{
    		Time:           metav1.NewTime(time.Now()),
    		AvailableBytes: &availableBytes,
    		CapacityBytes:  &capacityBytes,
    		UsedBytes:      &usedBytes,
    		Inodes:         &inodes,
    		InodesFree:     &inodesFree,
    		InodesUsed:     &inodesUsed,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. pkg/volume/volume.go

    	// and will not equal InodesUsed + InodesFree as the fs is shared.
    	Inodes *resource.Quantity
    
    	// InodesFree represent the inodes available for the volume.  For Volumes that share
    	// a filesystem with the host (e.g. emptydir, hostpath), this is the free inodes
    	// on the underlying storage, and is shared with host processes and other volumes
    	InodesFree *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)
  4. cluster/gce/config-default.sh

    # Evict pods whenever compute resource availability on the nodes gets below a threshold.
    EVICTION_HARD="${EVICTION_HARD:-memory.available<250Mi,nodefs.available<10%,nodefs.inodesFree<5%}"
    
    # Optional: custom scheduling algorithm
    SCHEDULING_ALGORITHM_PROVIDER="${SCHEDULING_ALGORITHM_PROVIDER:-}"
    
    # Optional: install a default StorageClass
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 20:16:32 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. cluster/gce/config-test.sh

    # Evict pods whenever compute resource availability on the nodes gets below a threshold.
    EVICTION_HARD=${EVICTION_HARD:-memory.available<250Mi,nodefs.available<10%,nodefs.inodesFree<5%}
    
    # Optional: custom scheduling algorithm
    SCHEDULING_ALGORITHM_PROVIDER=${SCHEDULING_ALGORITHM_PROVIDER:-}
    
    # Optional: install a default StorageClass
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 17:20:24 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_client_test.go

    			metrics.Capacity = resource.NewQuantity(usage.GetTotal(), resource.BinarySI)
    			metrics.Used = resource.NewQuantity(usage.GetUsed(), resource.BinarySI)
    		case csipbv1.VolumeUsage_INODES:
    			metrics.InodesFree = resource.NewQuantity(usage.GetAvailable(), resource.BinarySI)
    			metrics.Inodes = resource.NewQuantity(usage.GetTotal(), resource.BinarySI)
    			metrics.InodesUsed = resource.NewQuantity(usage.GetUsed(), resource.BinarySI)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/config/types.go

    	MaxParallelImagePulls *int32
    	// Map of signal names to quantities that defines hard eviction thresholds. For example: {"memory.available": "300Mi"}.
    	// Some default signals are Linux only: nodefs.inodesFree
    	EvictionHard map[string]string
    	// Map of signal names to quantities that defines soft eviction thresholds.  For example: {"memory.available": "300Mi"}.
    	EvictionSoft map[string]string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top