- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for ResourceClaims (0.23 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) -
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) -
pkg/scheduler/testing/wrappers.go
wrapper.Spec.PotentialNodes = nodes return wrapper } // ResourceClaims sets that field of the inner object. func (wrapper *PodSchedulingWrapper) ResourceClaims(statuses ...resourcev1alpha2.ResourceClaimSchedulingStatus) *PodSchedulingWrapper { wrapper.Status.ResourceClaims = statuses return wrapper } type ResourceSliceWrapper struct { resourcev1alpha2.ResourceSlice
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 42.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/apps.v1.ReplicaSet.yaml
overheadKey: "0" preemptionPolicy: preemptionPolicyValue priority: 25 priorityClassName: priorityClassNameValue readinessGates: - conditionType: conditionTypeValue resourceClaims: - name: nameValue source: resourceClaimName: resourceClaimNameValue resourceClaimTemplateName: resourceClaimTemplateNameValue restartPolicy: restartPolicyValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 34.8K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/apps.v1.DaemonSet.yaml
overheadKey: "0" preemptionPolicy: preemptionPolicyValue priority: 25 priorityClassName: priorityClassNameValue readinessGates: - conditionType: conditionTypeValue resourceClaims: - name: nameValue source: resourceClaimName: resourceClaimNameValue resourceClaimTemplateName: resourceClaimTemplateNameValue restartPolicy: restartPolicyValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 35.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/apps.v1beta2.DaemonSet.yaml
overheadKey: "0" preemptionPolicy: preemptionPolicyValue priority: 25 priorityClassName: priorityClassNameValue readinessGates: - conditionType: conditionTypeValue resourceClaims: - name: nameValue source: resourceClaimName: resourceClaimNameValue resourceClaimTemplateName: resourceClaimTemplateNameValue restartPolicy: restartPolicyValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 35K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/apps.v1beta2.Deployment.yaml
overheadKey: "0" preemptionPolicy: preemptionPolicyValue priority: 25 priorityClassName: priorityClassNameValue readinessGates: - conditionType: conditionTypeValue resourceClaims: - name: nameValue source: resourceClaimName: resourceClaimNameValue resourceClaimTemplateName: resourceClaimTemplateNameValue restartPolicy: restartPolicyValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 35.1K bytes - Viewed (0)