Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 92 for AllocatedResources (0.22 sec)

  1. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    	if in.Started != nil {
    		in, out := &in.Started, &out.Started
    		*out = new(bool)
    		**out = **in
    	}
    	if in.AllocatedResources != nil {
    		in, out := &in.AllocatedResources, &out.AllocatedResources
    		*out = make(ResourceList, len(*in))
    		for key, val := range *in {
    			(*out)[key] = val.DeepCopy()
    		}
    	}
    	if in.Resources != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  2. pkg/apis/apps/v1beta2/zz_generated.defaults.go

    		v1.SetDefaults_ResourceList(&a.Spec.Resources.Limits)
    		v1.SetDefaults_ResourceList(&a.Spec.Resources.Requests)
    		v1.SetDefaults_ResourceList(&a.Status.Capacity)
    		v1.SetDefaults_ResourceList(&a.Status.AllocatedResources)
    	}
    }
    
    func SetObjectDefaults_StatefulSetList(in *v1beta2.StatefulSetList) {
    	for i := range in.Items {
    		a := &in.Items[i]
    		SetObjectDefaults_StatefulSet(a)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 17:31:23 UTC 2021
    - 40K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/types.go

    	// the actual resource requests for this node, but is used to avoid scheduling
    	// many zero-request pods onto one node.
    	NonZeroRequested *Resource
    	// We store allocatedResources (which is Node.Status.Allocatable.*) explicitly
    	// as int64, to avoid conversions and accessing map.
    	Allocatable *Resource
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  4. pkg/apis/apps/v1/zz_generated.defaults.go

    		corev1.SetDefaults_ResourceList(&a.Spec.Resources.Limits)
    		corev1.SetDefaults_ResourceList(&a.Spec.Resources.Requests)
    		corev1.SetDefaults_ResourceList(&a.Status.Capacity)
    		corev1.SetDefaults_ResourceList(&a.Status.AllocatedResources)
    	}
    }
    
    func SetObjectDefaults_StatefulSetList(in *v1.StatefulSetList) {
    	for i := range in.Items {
    		a := &in.Items[i]
    		SetObjectDefaults_StatefulSet(a)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 17:31:23 UTC 2021
    - 40.8K bytes
    - Viewed (0)
  5. pkg/volume/util/operationexecutor/operation_generator.go

    	if status, ok := pvc.Status.AllocatedResourceStatuses[v1.ResourceStorage]; ok {
    		resizeStatus = status
    	}
    
    	var allocatedSize *resource.Quantity
    	t, ok := pvc.Status.AllocatedResources[v1.ResourceStorage]
    	if ok {
    		allocatedSize = &t
    	}
    	var err error
    
    	if pvSize.Cmp(pvcSpecSize) < 0 {
    		// pv is not of requested size yet and hence will require expanding
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  6. pkg/apis/core/types.go

    	// is requested.
    	// For storage quota, the larger value from allocatedResources and PVC.spec.resources is used.
    	// If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.
    	// If a volume expansion capacity request is lowered, allocatedResources is only
    	// lowered if there are no expansion operations in progress and if the actual volume capacity
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

    used.\n\nCapacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity.\n\nA...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 254.8K bytes
    - Viewed (0)
  8. pkg/apis/core/v1/zz_generated.conversion.go

    	out.RestartCount = in.RestartCount
    	out.Image = in.Image
    	out.ImageID = in.ImageID
    	out.ContainerID = in.ContainerID
    	out.Started = (*bool)(unsafe.Pointer(in.Started))
    	out.AllocatedResources = *(*core.ResourceList)(unsafe.Pointer(&in.AllocatedResources))
    	out.Resources = (*core.ResourceRequirements)(unsafe.Pointer(in.Resources))
    	out.VolumeMounts = *(*[]core.VolumeMountStatus)(unsafe.Pointer(&in.VolumeMounts))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/generated.proto

      // is requested.
      // For storage quota, the larger value from allocatedResources and PVC.spec.resources is used.
      // If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.
      // If a volume expansion capacity request is lowered, allocatedResources is only
      // lowered if there are no expansion operations in progress and if the actual volume capacity
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 280.3K bytes
    - Viewed (0)
  10. pkg/kubelet/eviction/helpers.go

    					(resourceToReclaim == v1.ResourceMemory || resourceToReclaim == v1.ResourceCPU) {
    					if cs, ok := podutil.GetContainerStatus(pod.Status.ContainerStatuses, container.Name); ok {
    						requests = cs.AllocatedResources[resourceToReclaim]
    					}
    				}
    				var usage *resource.Quantity
    				switch resourceToReclaim {
    				case v1.ResourceEphemeralStorage:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
Back to top