- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for AllocatedResources (0.2 sec)
-
pkg/kubelet/cm/devicemanager/pod_devices.go
return } for resource, devices := range resources { allocatedResources[resource] = allocatedResources[resource].Union(devices.deviceIds.Devices()) } } // Removes the device resources allocated to the specified <podUID, contName> from allocatedResources. func (pdev *podDevices) removeContainerAllocatedResources(podUID, contName string, allocatedResources map[string]sets.Set[string]) { pdev.RLock() defer pdev.RUnlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 27 02:10:25 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41K bytes - Viewed (0) -
pkg/scheduler/framework/types_test.go
ContainerStatuses: []v1.ContainerStatus{ { Name: "c1", AllocatedResources: v1.ResourceList{v1.ResourceCPU: cpu500m, v1.ResourceMemory: mem500M}, }, }, }, } tests := []struct { name string requests v1.ResourceList allocatedResources v1.ResourceList resizeStatus v1.PodResizeStatus expectedResource Resource
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 45.9K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/pods_test.go
testCases := map[string]struct { pod *api.Pod usageFgEnabled corev1.ResourceList usageFgDisabled corev1.ResourceList }{ "verify Max(Container.Spec.Requests, ContainerStatus.AllocatedResources) for memory resource": { pod: &api.Pod{ Spec: api.PodSpec{ Containers: []api.Container{ { Resources: api.ResourceRequirements{ Requests: api.ResourceList{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.6K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Pod.yaml
lastTransitionTime: "2004-01-01T01:01:01Z" message: messageValue reason: reasonValue status: statusValue type: typeValue containerStatuses: - allocatedResources: allocatedResourcesKey: "0" containerID: containerIDValue image: imageValue imageID: imageIDValue lastState: running: startedAt: "2001-01-01T01:01:01Z"
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/volume/util/operationexecutor/operation_generator_test.go
actualResizeStatus := updatedPVC.Status.AllocatedResourceStatuses[v1.ResourceStorage] assert.Equal(t, actualResizeStatus, test.expectedResizeStatus) actualAllocatedSize := updatedPVC.Status.AllocatedResources.Storage() if test.expectedAllocatedSize.Cmp(*actualAllocatedSize) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.2K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.yaml
lastTransitionTime: "2004-01-01T01:01:01Z" message: messageValue reason: reasonValue status: statusValue type: typeValue containerStatuses: - allocatedResources: allocatedResourcesKey: "0" containerID: containerIDValue image: imageValue imageID: imageIDValue lastState: running: startedAt: "2001-01-01T01:01:01Z"
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
} 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)