- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for AllocatedResources (0.31 sec)
-
pkg/api/v1/resource/helpers.go
cs, found := containerStatuses[container.Name] if found { if pod.Status.Resize == v1.PodResizeStatusInfeasible { containerReqs = cs.AllocatedResources.DeepCopy() } else { containerReqs = max(container.Resources.Requests, cs.AllocatedResources) } } } if len(opts.NonMissingContainerRequests) > 0 { containerReqs = applyNonMissing(containerReqs, opts.NonMissingContainerRequests) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 26 13:58:16 UTC 2023 - 16.3K bytes - Viewed (0) -
pkg/api/v1/resource/helpers_test.go
Requests: v1.ResourceList{ v1.ResourceCPU: resource.MustParse("4"), }, }, }, }, containerStatus: []v1.ContainerStatus{ { Name: "container-1", AllocatedResources: v1.ResourceList{ v1.ResourceCPU: resource.MustParse("2"), }, }, }, }, { description: "resized, no resize status", expectedRequests: v1.ResourceList{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 07 22:26:13 UTC 2023 - 38.3K bytes - Viewed (0) -
plugin/pkg/admission/limitranger/admission.go
cs, found := containerStatuses[container.Name] if found { if pod.Status.Resize == api.PodResizeStatusInfeasible { containerReqs = cs.AllocatedResources } else { containerReqs = max(container.Resources.Requests, cs.AllocatedResources) } } } addResourceList(reqs, containerReqs) } restartableInitCotnainerReqs := api.ResourceList{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 24 13:04:39 UTC 2023 - 25.8K bytes - Viewed (0) -
pkg/api/pod/util.go
} if !utilfeature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling) && !inPlacePodVerticalScalingInUse(oldPodSpec) { // Drop Resize, AllocatedResources, and Resources fields dropResourcesFields := func(csl []api.ContainerStatus) { for i := range csl { csl[i].AllocatedResources = nil csl[i].Resources = nil } } dropResourcesFields(podStatus.ContainerStatuses)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41.3K bytes - Viewed (0) -
plugin/pkg/admission/noderestriction/admission.go
newPVC.Status.Conditions = nil if p.expansionRecoveryEnabled { oldPVC.Status.AllocatedResourceStatuses = nil newPVC.Status.AllocatedResourceStatuses = nil oldPVC.Status.AllocatedResources = nil newPVC.Status.AllocatedResources = nil } // TODO(apelisse): We don't have a good mechanism to // verify that only the things that should have changed // have changed. Ignore it for now.
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
// the provided podUIDs. RemoveOrphanedStatuses(podUIDs map[types.UID]bool) // GetContainerResourceAllocation returns checkpointed AllocatedResources value for the container GetContainerResourceAllocation(podUID string, containerName string) (v1.ResourceList, bool) // GetPodResizeStatus returns checkpointed PodStatus.Resize value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 44.3K bytes - Viewed (0) -
pkg/apis/core/helper/helpers.go
return true } } return false } func ClaimContainsAllocatedResources(pvc *core.PersistentVolumeClaim) bool { if pvc == nil { return false } if pvc.Status.AllocatedResources != nil { return true } return false } func ClaimContainsAllocatedResourceStatus(pvc *core.PersistentVolumeClaim) bool { if pvc == nil { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 16.1K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_static.go
return 0 } cpuQuantity := container.Resources.Requests[v1.ResourceCPU] // In-place pod resize feature makes Container.Resources field mutable for CPU & memory. // AllocatedResources holds the value of Container.Resources.Requests when the pod was admitted. // We should return this value because this is what kubelet agreed to allocate for the container // and the value configured with runtime.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 06 13:16:15 UTC 2023 - 28.8K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.StatefulSet.yaml
volumeName: volumeNameValue status: accessModes: - accessModesValue allocatedResourceStatuses: allocatedResourceStatusesKey: allocatedResourceStatusesValue allocatedResources: allocatedResourcesKey: "0" capacity: capacityKey: "0" conditions: - lastProbeTime: "2003-01-01T01:01:01Z" lastTransitionTime: "2004-01-01T01:01:01Z"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 37.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/apps.v1.StatefulSet.yaml
volumeName: volumeNameValue status: accessModes: - accessModesValue allocatedResourceStatuses: allocatedResourceStatusesKey: allocatedResourceStatusesValue allocatedResources: allocatedResourcesKey: "0" capacity: capacityKey: "0" conditions: - lastProbeTime: "2003-01-01T01:01:01Z" lastTransitionTime: "2004-01-01T01:01:01Z"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 37.7K bytes - Viewed (0)