- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 97 for ResourceRequirements (0.43 sec)
-
pkg/registry/core/pod/strategy_test.go
} if memory != "" { res[api.ResourceMemory] = resource.MustParse(memory) } return res } func getResourceRequirements(requests, limits api.ResourceList) api.ResourceRequirements { res := api.ResourceRequirements{} res.Requests = requests res.Limits = limits return res } func newContainer(name string, requests api.ResourceList, limits api.ResourceList) api.Container {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 76.2K bytes - Viewed (0) -
pkg/registry/apps/deployment/strategy_test.go
Image: fakeImage, ImagePullPolicy: api.PullNever, TerminationMessagePolicy: api.TerminationMessageReadFile, Resources: api.ResourceRequirements{ Requests: api.ResourceList{ api.ResourceName(api.ResourceCPU): resource.MustParse("10"), api.ResourceName(resourceName): value, }, Limits: api.ResourceList{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:17:45 UTC 2023 - 9.1K bytes - Viewed (0) -
pkg/apis/core/v1/validation/validation.go
// ValidateResourceRequirements will check if any of the resource // Limits/Requests are of a valid value. Any incorrect value will be added to // the ErrorList. func ValidateResourceRequirements(requirements *v1.ResourceRequirements, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} limPath := fldPath.Child("limits") reqPath := fldPath.Child("requests") for resourceName, quantity := range requirements.Limits {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 6.7K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/memory_manager_test.go
found bool } func (psp mockPodStatusProvider) GetPodStatus(uid types.UID) (v1.PodStatus, bool) { return psp.podStatus, psp.found } func getPod(podUID string, containerName string, requirements *v1.ResourceRequirements) *v1.Pod { return &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ UID: types.UID(podUID), }, Spec: v1.PodSpec{ Containers: []v1.Container{ { Name: containerName,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 05 13:01:40 UTC 2023 - 70.2K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
kl.dnsConfigurer = dns.NewConfigurer(recorder, nodeRef, nil, nil, testClusterDNSDomain, "") spec := v1.PodSpec{NodeName: string(kl.nodeName), Containers: []v1.Container{{Resources: v1.ResourceRequirements{ Requests: v1.ResourceList{ v1.ResourceMemory: resource.MustParse("90"), }, }}}, } pods := []*v1.Pod{ podWithUIDNameNsSpec("123456789", "newpod", "foo", spec),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
common-protos/k8s.io/api/storage/v1alpha1/generated.proto
// CreateVolumeRequest.capacity_range.required_bytes field to // create a volume with the same parameters as those in // GetCapacityRequest. The corresponding value in the Kubernetes // API is ResourceRequirements.Requests in a volume claim. // // +optional optional k8s.io.apimachinery.pkg.api.resource.Quantity maximumVolumeSize = 5; } // CSIStorageCapacityList is a collection of CSIStorageCapacity objects.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 9.4K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go
UID: "pod1uid", }, Spec: v1.PodSpec{ Containers: []v1.Container{ { Resources: v1.ResourceRequirements{ Limits: v1.ResourceList{ v1.ResourceEphemeralStorage: quantity1Gi, }, }, }, { Resources: v1.ResourceRequirements{ Limits: v1.ResourceList{ v1.ResourceEphemeralStorage: quantity1Gi, }, }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 34K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/topology_manager_test.go
podScopeManager.scope.(*podScope).hintProviders = tc.hp pod := &v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ { Resources: v1.ResourceRequirements{}, }, }, }, Status: v1.PodStatus{ QOSClass: tc.qosClass, }, } podAttr := lifecycle.PodAdmitAttributes{ Pod: pod, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 13:04:32 UTC 2023 - 13.8K bytes - Viewed (0) -
staging/src/k8s.io/api/storage/v1alpha1/generated.proto
// CreateVolumeRequest.capacity_range.required_bytes field to // create a volume with the same parameters as those in // GetCapacityRequest. The corresponding value in the Kubernetes // API is ResourceRequirements.Requests in a volume claim. // // +optional optional .k8s.io.apimachinery.pkg.api.resource.Quantity maximumVolumeSize = 5; } // CSIStorageCapacityList is a collection of CSIStorageCapacity objects.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 11.3K bytes - Viewed (0) -
staging/src/k8s.io/api/storage/v1alpha1/types_swagger_doc_generated.go
} func (CSIStorageCapacity) SwaggerDoc() map[string]string { return map_CSIStorageCapacity } var map_CSIStorageCapacityList = map[string]string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:26:35 UTC 2023 - 10.6K bytes - Viewed (0)