- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 231 for resourceclaim (0.84 sec)
-
pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go
pod: podWithClaimName, claims: []*resourcev1alpha2.ResourceClaim{allocatedClaim}, schedulings: []*resourcev1alpha2.PodSchedulingContext{schedulingInfo}, classes: []*resourcev1alpha2.ResourceClass{resourceClass}, want: want{ prebind: result{ changes: change{ claim: func(in *resourcev1alpha2.ResourceClaim) *resourcev1alpha2.ResourceClaim { return st.FromResourceClaim(in).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 61.9K bytes - Viewed (0) -
common-protos/k8s.io/api/resource/v1alpha2/generated.proto
message PodSchedulingContextStatus { // ResourceClaims describes resource availability for each // pod.spec.resourceClaim entry where the corresponding ResourceClaim // uses "WaitForFirstConsumer" allocation mode. // // +listType=map // +listMapKey=name // +optional repeated ResourceClaimSchedulingStatus resourceClaims = 1; } // ResourceClaim describes which resources are needed by a resource consumer.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 14.4K bytes - Viewed (0) -
pkg/controller/resourceclaim/controller_test.go
}(), key: claimKey(testClaimReserved), claims: func() []*resourcev1alpha2.ResourceClaim { claims := []*resourcev1alpha2.ResourceClaim{testClaimReserved.DeepCopy()} claims[0].OwnerReferences = nil return claims }(), expectedClaims: func() []resourcev1alpha2.ResourceClaim { claims := []resourcev1alpha2.ResourceClaim{*testClaimAllocated.DeepCopy()} claims[0].OwnerReferences = nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 08:56:16 UTC 2024 - 28.2K bytes - Viewed (0) -
pkg/registry/resource/resourceclaim/storage/storage.go
NewListFunc: func() runtime.Object { return &resource.ResourceClaimList{} }, PredicateFunc: resourceclaim.Match, DefaultQualifiedResource: resource.Resource("resourceclaims"), SingularQualifiedResource: resource.Resource("resourceclaim"), CreateStrategy: resourceclaim.Strategy, UpdateStrategy: resourceclaim.Strategy,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 10:11:16 UTC 2022 - 3.8K bytes - Viewed (0) -
pkg/kubelet/cm/dra/manager_test.go
kubeClient: fakeKubeClient, cache: cache, } if test.resourceClaim != nil { if _, err := fakeKubeClient.ResourceV1alpha2().ResourceClaims(test.pod.Namespace).Create(context.Background(), test.resourceClaim, metav1.CreateOptions{}); err != nil { t.Fatalf("failed to create ResourceClaim %s: %+v", test.resourceClaim.Name, err) } } var pluginClientTimeout *time.Duration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:29 UTC 2024 - 42K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclaim_test.go
}) scenarios := map[string]struct { oldClaim *resource.ResourceClaim update func(claim *resource.ResourceClaim) *resource.ResourceClaim wantFailures field.ErrorList }{ "valid-no-op-update": { oldClaim: validClaim, update: func(claim *resource.ResourceClaim) *resource.ResourceClaim { return claim }, }, "invalid-update-class": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/controller/resourceclaim/controller.go
"k8s.io/client-go/util/workqueue" "k8s.io/dynamic-resource-allocation/resourceclaim" "k8s.io/klog/v2" podutil "k8s.io/kubernetes/pkg/api/v1/pod" "k8s.io/kubernetes/pkg/controller/resourceclaim/metrics" "k8s.io/utils/ptr" ) const ( // podResourceClaimIndex is the lookup name for the index function which indexes by pod ResourceClaim templates. podResourceClaimIndex = "pod-resource-claim-index"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 37.1K bytes - Viewed (0) -
pkg/apis/resource/validation/validation.go
allErrs = append(allErrs, ValidateClass(resourceClass)...) return allErrs } // ValidateClaimUpdate tests if an update to ResourceClaim is valid. func ValidateClaimUpdate(resourceClaim, oldClaim *resource.ResourceClaim) field.ErrorList {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 28.3K bytes - Viewed (0) -
pkg/apis/resource/types.go
type PodSchedulingContextStatus struct { // ResourceClaims describes resource availability for each // pod.spec.resourceClaim entry where the corresponding ResourceClaim // uses "WaitForFirstConsumer" allocation mode. // +optional ResourceClaims []ResourceClaimSchedulingStatus // If there ever is a need to support other kinds of resources // than ResourceClaim, then new fields could get added here
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 14 17:07:36 UTC 2024 - 22.3K bytes - Viewed (0) -
staging/src/k8s.io/api/resource/v1alpha2/generated.proto
message PodSchedulingContextStatus { // ResourceClaims describes resource availability for each // pod.spec.resourceClaim entry where the corresponding ResourceClaim // uses "WaitForFirstConsumer" allocation mode. // // +listType=map // +listMapKey=name // +optional repeated ResourceClaimSchedulingStatus resourceClaims = 1; } // ResourceClaim describes which resources are needed by a resource consumer.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 22:07:50 UTC 2024 - 26.2K bytes - Viewed (0)