- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for podClaims (0.8 sec)
-
pkg/kubelet/cm/dra/manager.go
if err := m.unprepareResources(podClaims.uid, podClaims.namespace, podClaims.claimNames); err != nil { klog.ErrorS(err, "Unpreparing pod resources in reconcile loop", "podUID", podClaims.uid) } } } // PrepareResources attempts to prepare all of the required resource // plugin resources for the input container, issue NodePrepareResources rpc requests
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_test.go
ResourceClaimTemplateName: &templateName, }, } } func makePod(name, namespace string, uid types.UID, podClaims ...v1.PodResourceClaim) *v1.Pod { pod := &v1.Pod{ ObjectMeta: metav1.ObjectMeta{Name: name, Namespace: namespace, UID: uid}, Spec: v1.PodSpec{ ResourceClaims: podClaims, }, } return pod }
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/controller/statefulset/stateful_set_control_test.go
t.Error(err) } pods, err := om.podsLister.Pods(set.Namespace).List(selector) if err != nil { t.Error(err) } for _, pod := range pods { podClaims := getPersistentVolumeClaims(set, pod) for _, claim := range claims { if _, found := podClaims[claim.Name]; found { if hasOwnerRef(claim, pod) { t.Errorf("Unexpected ownerRef on %s", claim.Name) } } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 07 19:01:47 UTC 2024 - 108.7K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
} } } return allErrs } func havePodClaim(podClaims []core.PodResourceClaim, name string) bool { for _, podClaim := range podClaims { if podClaim.Name == name { return true } } return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0) -
pkg/controller/resourceclaim/controller.go
func (ec *Controller) handleClaim(ctx context.Context, pod *v1.Pod, podClaim v1.PodResourceClaim, newPodClaims *map[string]string) error { logger := klog.LoggerWithValues(klog.FromContext(ctx), "podClaim", podClaim.Name) ctx = klog.NewContext(ctx, logger) logger.V(5).Info("checking", "podClaim", podClaim.Name) // resourceclaim.Name checks for the situation that the client doesn't
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 37.1K bytes - Viewed (0)