- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 130 for ResourceClaims (0.38 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) -
api/discovery/apis__resource.k8s.io__v1alpha2.json
"delete", "deletecollection", "get", "list", "patch", "update", "watch" ] }, { "kind": "ResourceClaim", "name": "resourceclaims", "namespaced": true, "singularName": "resourceclaim", "storageVersionHash": "sMQbgChfibk=", "verbs": [ "create", "delete", "deletecollection", "get",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 3.1K 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) -
staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.PodSchedulingContext.json
"subresource": "subresourceValue" } ] }, "spec": { "selectedNode": "selectedNodeValue", "potentialNodes": [ "potentialNodesValue" ] }, "status": { "resourceClaims": [ { "name": "nameValue", "unsuitableNodes": [ "unsuitableNodesValue" ] } ] }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.4K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.PodSchedulingContext.yaml
uid: uidValue resourceVersion: resourceVersionValue selfLink: selfLinkValue uid: uidValue spec: potentialNodes: - potentialNodesValue selectedNode: selectedNodeValue status: resourceClaims: - name: nameValue unsuitableNodes:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go
if schedulingCtx == nil { return nil } for _, status := range schedulingCtx.Status.ResourceClaims { if status.Name == podClaimName { return &status } } return nil } // dynamicResources is a plugin that ensures that ResourceClaims are allocated. type dynamicResources struct { enabled bool fh framework.Handle
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 15:22:37 UTC 2024 - 75.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; }
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)