- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 178 for ResourceClaims (0.17 sec)
-
pkg/apis/resource/validation/validation_podschedulingcontext_test.go
schedulingCtx.Status.ResourceClaims = append(schedulingCtx.Status.ResourceClaims, resource.ResourceClaimSchedulingStatus{ Name: "my-claim", }, ) for i := 0; i < resource.PodSchedulingNodeListMaxSize; i++ { schedulingCtx.Status.ResourceClaims[0].UnsuitableNodes = append( schedulingCtx.Status.ResourceClaims[0].UnsuitableNodes, fmt.Sprintf("worker%d", i), )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 09:18:08 UTC 2023 - 13.3K bytes - Viewed (0) -
pkg/controller/resourceclaim/metrics/metrics.go
var ( // ResourceClaimCreateAttempts tracks the number of // ResourceClaims().Create calls (both successful and unsuccessful) ResourceClaimCreateAttempts = metrics.NewCounter( &metrics.CounterOpts{ Subsystem: ResourceClaimSubsystem, Name: "create_attempts_total", Help: "Number of ResourceClaims creation requests", StabilityLevel: metrics.ALPHA, })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 19:23:50 UTC 2022 - 1.8K bytes - Viewed (0) -
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) -
pkg/registry/resource/resourceclaim/storage/storage.go
"k8s.io/kubernetes/pkg/registry/resource/resourceclaim" "sigs.k8s.io/structured-merge-diff/v4/fieldpath" ) // REST implements a RESTStorage for ResourceClaims. type REST struct { *genericregistry.Store } // NewREST returns a RESTStorage object that will work against ResourceClaims. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) { store := &genericregistry.Store{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 10:11:16 UTC 2022 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.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: Fri Dec 15 04:12:07 UTC 2023 - 1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.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: Fri Dec 15 04:12:07 UTC 2023 - 1.4K bytes - Viewed (0)