Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 85 for AllocatedResources (0.4 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/apis/core/validation/validation_test.go

    			newClaim:          validConditionUpdate,
    		},
    		"status-update-with-valid-allocatedResources-feature-enabled": {
    			isExpectedFailure:          false,
    			oldClaim:                   validClaim,
    			newClaim:                   validAllocatedResources,
    			enableRecoverFromExpansion: true,
    		},
    		"status-update-with-invalid-allocatedResources-native-key-feature-enabled": {
    			isExpectedFailure:          true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/core/v1/generated.pb.go

    			}
    			i -= size
    			i = encodeVarintGenerated(dAtA, i, uint64(size))
    		}
    		i--
    		dAtA[i] = 0x5a
    	}
    	if len(m.AllocatedResources) > 0 {
    		keysForAllocatedResources := make([]string, 0, len(m.AllocatedResources))
    		for k := range m.AllocatedResources {
    			keysForAllocatedResources = append(keysForAllocatedResources, string(k))
    		}
    		github_com_gogo_protobuf_sortkeys.Strings(keysForAllocatedResources)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
  6. pkg/kubelet/eviction/helpers_test.go

    	}, nil)
    	testpod.Status = v1.PodStatus{
    		ContainerStatuses: []v1.ContainerStatus{
    			{
    				Name:               "testcontainer",
    				AllocatedResources: newResourceList("", "100Mi", ""),
    			},
    		},
    	}
    	testpodMemory := resource.MustParse("150Mi")
    	testpodStats := newPodMemoryStats(testpod, testpodMemory)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  7. api/openapi-spec/v3/apis__apps__v1_openapi.json

    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
    - 810.7K bytes
    - Viewed (0)
  8. pkg/apis/core/validation/validation.go

    					allErrs = append(allErrs, field.NotSupported(resizeStatusPath, k, sets.List(resizeStatusSet)))
    					continue
    				}
    			}
    		}
    		allocPath := field.NewPath("status", "allocatedResources")
    		for r, qty := range newPvc.Status.AllocatedResources {
    			if errs := validatePersistentVolumeClaimResourceKey(r.String(), allocPath); len(errs) > 0 {
    				allErrs = append(allErrs, errs...)
    				continue
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/artifacts/openapi/swagger-with-shared-parameters.json

                "type": "string"
              },
              "type": "array"
            },
            "allocatedResources": {
              "additionalProperties": {
                "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
              },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 2.3M bytes
    - Viewed (0)
  10. api/openapi-spec/v3/api__v1_openapi.json

    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
    - 1.8M bytes
    - Viewed (0)
Back to top