- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for resourceClaimStatuses (0.42 sec)
-
pkg/controller/resourceclaim/controller_test.go
testPodWithNodeName = func() *v1.Pod { pod := testPodWithResource.DeepCopy() pod.Spec.NodeName = nodeName pod.Status.ResourceClaimStatuses = append(pod.Status.ResourceClaimStatuses, v1.PodResourceClaimStatus{ Name: pod.Spec.ResourceClaims[0].Name, ResourceClaimName: &generatedTestClaim.Name, }) 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) -
plugin/pkg/admission/noderestriction/admission.go
return admission.NewForbidden(a, fmt.Errorf("node %q cannot update labels through pod status", nodeName)) } if !resourceClaimStatusesEqual(oldPod.Status.ResourceClaimStatuses, newPod.Status.ResourceClaimStatuses) { return admission.NewForbidden(a, fmt.Errorf("node %q cannot update resource claim statues", nodeName)) } return nil default:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 23.6K bytes - Viewed (0) -
pkg/kubelet/status/status_manager.go
} } } } } newPodStatus.Conditions = podConditions // ResourceClaimStatuses is not owned and not modified by kubelet. newPodStatus.ResourceClaimStatuses = oldPodStatus.ResourceClaimStatuses // Delay transitioning a pod to a terminal status unless the pod is actually terminal.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 44.3K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/node_authorizer_test.go
Name: podClaimName, Source: corev1.ClaimSource{ ResourceClaimTemplateName: &claimTemplateName, }, }) pod.Status.ResourceClaimStatuses = append(pod.Status.ResourceClaimStatuses, corev1.PodResourceClaimStatus{ Name: podClaimName, ResourceClaimName: &claimName, }) } // Choose shared pvcs randomly from shared pvcs in a namespace.
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/testdata/v1.30.0/core.v1.Pod.yaml
nominatedNodeName: nominatedNodeNameValue phase: phaseValue podIP: podIPValue podIPs: - ip: ipValue qosClass: qosClassValue reason: reasonValue resize: resizeValue resourceClaimStatuses: - name: nameValue resourceClaimName: resourceClaimNameValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 33.2K bytes - Viewed (0) -
pkg/controller/resourceclaim/controller.go
if _, err := ec.kubeClient.CoreV1().Pods(namespace).ApplyStatus(ctx, podApply, metav1.ApplyOptions{FieldManager: fieldManager, Force: true}); err != nil { return fmt.Errorf("update pod %s/%s ResourceClaimStatuses: %v", namespace, name, err) } } if pod.Spec.NodeName == "" { // Scheduler will handle PodSchedulingContext and reservations. logger.V(5).Info("nothing to do for pod, scheduler will deal with it")
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/HEAD/core.v1.Pod.yaml
nominatedNodeName: nominatedNodeNameValue phase: phaseValue podIP: podIPValue podIPs: - ip: ipValue qosClass: qosClassValue reason: reasonValue resize: resizeValue resourceClaimStatuses: - name: nameValue resourceClaimName: resourceClaimNameValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 33.6K bytes - Viewed (0) -
pkg/api/pod/util.go
podStatus.Resize = "" } if !utilfeature.DefaultFeatureGate.Enabled(features.DynamicResourceAllocation) && !dynamicResourceAllocationInUse(oldPodSpec) { podStatus.ResourceClaimStatuses = nil } // drop HostIPs to empty (disable PodHostIPs). if !utilfeature.DefaultFeatureGate.Enabled(features.PodHostIPs) && !hostIPsInUse(oldPodStatus) { podStatus.HostIPs = nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41.3K bytes - Viewed (0)