Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 220 for fopacity (0.14 sec)

  1. pkg/kubelet/cm/devicemanager/manager_test.go

    				t.Fatalf("timeout while waiting for manager update")
    			}
    			capacity, allocatable, _ := m.GetCapacity()
    			resourceCapacity := capacity[v1.ResourceName(testResourceName)]
    			resourceAllocatable := allocatable[v1.ResourceName(testResourceName)]
    			require.Equal(t, resourceCapacity.Value(), resourceAllocatable.Value(), "capacity should equal to allocatable")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  2. src/runtime/mgclimit.go

    	test bool
    
    	bucket struct {
    		// Invariants:
    		// - fill >= 0
    		// - capacity >= 0
    		// - fill <= capacity
    		fill, capacity uint64
    	}
    	// overflow is the cumulative amount of GC CPU time that we tried to fill the
    	// bucket with but exceeded its capacity.
    	overflow uint64
    
    	// assistTimePool is the accumulated assist time since the last update.
    	assistTimePool atomic.Int64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_node_status_test.go

    					},
    				},
    			},
    			needsUpdate: false,
    		}, {
    			name: "update needed when capacity and allocatable of the existing node are nil and capacity and allocatable of the initial node are not nil",
    			initialNode: &v1.Node{
    				Status: v1.NodeStatus{
    					Capacity: v1.ResourceList{
    						v1.ResourceCPU:              *resource.NewMilliQuantity(2000, resource.DecimalSI),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  4. pkg/apis/storage/validation/validation_test.go

    			capacity: func() *storage.CSIStorageCapacity {
    				capacity := goodCapacity
    				capacity.StorageClassName = invalidName
    				return &capacity
    			}(),
    		},
    		"good-capacity-value": {
    			capacity: func() *storage.CSIStorageCapacity {
    				capacity := goodCapacity
    				capacity.Capacity = resource.NewQuantity(1, resource.BinarySI)
    				return &capacity
    			}(),
    		},
    		"bad-capacity-value": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/metrics/metrics.go

    			Help:           "Total number of watch cache capacity decrease events broken by resource type.",
    			StabilityLevel: compbasemetrics.ALPHA,
    		},
    		[]string{"resource"},
    	)
    
    	WatchCacheCapacity = compbasemetrics.NewGaugeVec(
    		&compbasemetrics.GaugeOpts{
    			Subsystem:      subsystem,
    			Name:           "capacity",
    			Help:           "Total capacity of watch cache broken by resource type.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 07:39:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. cmd/metrics.go

    	totalDisks := offlineDisks.Merge(onlineDisks)
    
    	// Report total capacity
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "capacity_raw", "total"),
    			"Total capacity online in the cluster",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(GetTotalCapacity(server.Disks)),
    	)
    
    	// Report total capacity free
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. pkg/kubelet/nodestatus/setters_test.go

    					},
    				},
    			},
    		},
    		{
    			desc: "hugepages reservation greater than node memory capacity should result in memory capacity set to 0",
    			node: &v1.Node{
    				Status: v1.NodeStatus{
    					Capacity: v1.ResourceList{
    						v1.ResourceHugePagesPrefix + "test": *resource.NewQuantity(1025, resource.BinarySI),
    					},
    				},
    			},
    			maxPods: 110,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_node_status.go

    		initialCapacity := initialNode.Status.Capacity[resourceName]
    		initialAllocatable := initialNode.Status.Allocatable[resourceName]
    
    		capacity, resourceIsSupported := existingNode.Status.Capacity[resourceName]
    		allocatable := existingNode.Status.Allocatable[resourceName]
    
    		// Add or update capacity if it the size was previously unsupported or has changed
    		if !resourceIsSupported || capacity.Cmp(initialCapacity) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  9. pkg/kubelet/images/image_gc_manager.go

    		return err
    	}
    
    	var capacity, available int64
    	if fsStats.CapacityBytes != nil {
    		capacity = int64(*fsStats.CapacityBytes)
    	}
    	if fsStats.AvailableBytes != nil {
    		available = int64(*fsStats.AvailableBytes)
    	}
    
    	if available > capacity {
    		klog.InfoS("Availability is larger than capacity", "available", available, "capacity", capacity)
    		available = capacity
    	}
    
    	// Check valid capacity.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/container_manager_linux.go

    	// Holds all the mounted cgroup subsystems
    	subsystems *CgroupSubsystems
    	nodeInfo   *v1.Node
    	// Interface for cgroup management
    	cgroupManager CgroupManager
    	// Capacity of this node.
    	capacity v1.ResourceList
    	// Capacity of this node, including internal resources.
    	internalCapacity v1.ResourceList
    	// Absolute cgroupfs path to a cgroup that Kubelet needs to place all pods under.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top