- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for ResourceClaims (0.26 sec)
-
pkg/kubelet/cm/dra/manager_test.go
}, }, }, }, pod: &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test-pod", Namespace: "test-namespace", }, Spec: v1.PodSpec{ ResourceClaims: []v1.PodResourceClaim{ { Name: "test-pod-claim-1", Source: v1.ClaimSource{ResourceClaimName: &resourceClaimName}, }, }, }, }, claimInfo: &ClaimInfo{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:29 UTC 2024 - 42K bytes - Viewed (0) -
pkg/controller/resourceclaim/controller_test.go
{Name: testPodWithResource.Spec.ResourceClaims[0].Name, ResourceClaimName: &generatedTestClaim.Name}, }, }, expectedMetrics: expectedMetrics{1, 0}, }, { name: "nop", pods: []*v1.Pod{func() *v1.Pod { pod := testPodWithResource.DeepCopy() pod.Status.ResourceClaimStatuses = []v1.PodResourceClaimStatus{
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/kubelet/cm/dra/manager.go
// containerResources on success. func (m *ManagerImpl) PrepareResources(pod *v1.Pod) error { batches := make(map[string][]*drapb.Claim) resourceClaims := make(map[types.UID]*resourceapi.ResourceClaim) for i := range pod.Spec.ResourceClaims { podClaim := &pod.Spec.ResourceClaims[i] klog.V(3).InfoS("Processing resource", "podClaim", podClaim.Name, "pod", pod.Name) claimName, mustCheckOwner, err := resourceclaim.Name(pod, podClaim)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:23:29 UTC 2024 - 19.4K bytes - Viewed (0) -
pkg/controller/resourceclaim/controller.go
// podResourceClaimAnnotation is the special annotation that generated // ResourceClaims get. Its value is the pod.spec.resourceClaims[].name // for which it was generated. This is used only inside the controller // and not documented as part of the Kubernetes API. podResourceClaimAnnotation = "resource.kubernetes.io/pod-claim-name" // claimPodOwnerIndex is used to find ResourceClaims which have
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 37.1K 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; }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 14.4K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/node_authorizer_test.go
expect: authorizer.DecisionAllow, }, { name: "allowed resource claim with template",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 40.5K bytes - Viewed (0) -
staging/src/k8s.io/api/resource/v1alpha2/types.go
type PodSchedulingContextStatus struct { // ResourceClaims describes resource availability for each // pod.spec.resourceClaim entry where the corresponding ResourceClaim // uses "WaitForFirstConsumer" allocation mode. // // +listType=map // +listMapKey=name // +optional ResourceClaims []ResourceClaimSchedulingStatus `json:"resourceClaims,omitempty" protobuf:"bytes,1,opt,name=resourceClaims"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 27 10:22:35 UTC 2024 - 30K bytes - Viewed (0) -
staging/src/k8s.io/api/resource/v1alpha2/types_swagger_doc_generated.go
return map_PodSchedulingContextSpec } var map_PodSchedulingContextStatus = map[string]string{ "": "PodSchedulingContextStatus describes where resources for the Pod can be allocated.", "resourceClaims": "ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode.", }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 14 17:07:36 UTC 2024 - 22.4K 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
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; }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 22:07:50 UTC 2024 - 26.2K bytes - Viewed (0)