Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for fopacity (0.34 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    	newCache := make([]*watchCacheEvent, capacity)
    	if capacity < w.capacity {
    		// adjust startIndex if cache capacity shrink.
    		w.startIndex = w.endIndex - capacity
    	}
    	for i := w.startIndex; i < w.endIndex; i++ {
    		newCache[i%capacity] = w.cache[i%w.capacity]
    	}
    	w.cache = newCache
    	metrics.RecordsWatchCacheCapacityChange(w.groupResource.String(), w.capacity, capacity)
    	w.capacity = capacity
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    			wantInsufficientResources: []InsufficientResource{
    				{ResourceName: v1.ResourceCPU, Reason: getErrReason(v1.ResourceCPU), Requested: 1, Used: 10, Capacity: 10},
    				{ResourceName: v1.ResourceMemory, Reason: getErrReason(v1.ResourceMemory), Requested: 1, Used: 20, Capacity: 20},
    			},
    		},
    		{
    			pod: newResourceInitPod(newResourcePod(framework.Resource{MilliCPU: 1, Memory: 1}), framework.Resource{MilliCPU: 3, Memory: 1}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  3. internal/grid/handlers.go

    		// Should not be set unless there are different handlers for the same HandlerID.
    		Subroute string
    
    		// OutCapacity is the output capacity. If <= 0 capacity will be 1.
    		OutCapacity int
    
    		// InCapacity is the output capacity.
    		// If == 0 no input is expected
    		InCapacity int
    	}
    )
    
    type subHandlerID [32]byte
    
    func makeSubHandlerID(id HandlerID, subRoute string) subHandlerID {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/noderesources/fit.go

    	// We explicitly have a parameter for reason to avoid formatting a message on the fly
    	// for common resources, which is expensive for cluster autoscaler simulations.
    	Reason    string
    	Requested int64
    	Used      int64
    	Capacity  int64
    }
    
    // Fits checks if node have enough resources to host the pod.
    func Fits(pod *v1.Pod, nodeInfo *framework.NodeInfo) []InsufficientResource {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  5. pkg/scheduler/internal/queue/events.go

    	// CSIStorageCapacityAdd is the event when a CSI storage capacity is added in the cluster.
    	CSIStorageCapacityAdd = framework.ClusterEvent{Resource: framework.CSIStorageCapacity, ActionType: framework.Add, Label: "CSIStorageCapacityAdd"}
    	// CSIStorageCapacityUpdate is the event when a CSI storage capacity is updated in the cluster.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    			cap:  8,
    		},
    		{
    			name: "with existing capacity above max",
    			args: args{initialCapacity: 12, maxCapacity: 10, sizes: []int{8, 4}},
    			cap:  12,
    		},
    		{
    			name: "with existing capacity below max",
    			args: args{initialCapacity: 5, maxCapacity: 10, sizes: []int{8, 4}},
    			cap:  8,
    		},
    		{
    			name: "with existing capacity and length above max",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  7. docs/metrics/prometheus/list.md

    | `minio_cluster_capacity_usable_free_bytes`   | Total free usable capacity online in the cluster.              |
    | `minio_cluster_capacity_usable_total_bytes`  | Total usable capacity online in the cluster.                   |
    | `minio_cluster_objects_size_distribution`    | Distribution of object sizes across a cluster                  |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  8. pkg/printers/internalversion/printers.go

    	row := metav1.TableRow{
    		Object: runtime.RawExtension{Object: obj},
    	}
    
    	capacity := "<unset>"
    	if obj.Capacity != nil {
    		capacity = obj.Capacity.String()
    	}
    
    	row.Cells = append(row.Cells, obj.Name, obj.StorageClassName, capacity)
    	return []metav1.TableRow{row}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_test.go

    	defer testKubelet.Cleanup()
    	kl := testKubelet.kubelet
    	nodes := []*v1.Node{
    		{ObjectMeta: metav1.ObjectMeta{Name: testKubeletHostname},
    			Status: v1.NodeStatus{Capacity: v1.ResourceList{}, Allocatable: v1.ResourceList{
    				v1.ResourceCPU:    *resource.NewMilliQuantity(10, resource.DecimalSI),
    				v1.ResourceMemory: *resource.NewQuantity(100, resource.BinarySI),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  10. pkg/printers/internalversion/printers_test.go

    				ObjectMeta: metav1.ObjectMeta{
    					Name: "test1",
    				},
    				Spec: api.PersistentVolumeSpec{
    					ClaimRef:    &claimRef,
    					AccessModes: []api.PersistentVolumeAccessMode{api.ReadOnlyMany},
    					Capacity: map[api.ResourceName]resource.Quantity{
    						api.ResourceStorage: resource.MustParse("4Gi"),
    					},
    				},
    				Status: api.PersistentVolumeStatus{
    					Phase: api.VolumeBound,
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top