- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 61 for AllocatedResources (0.22 sec)
-
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) -
staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Pod.json
"ready": true, "restartCount": 5, "image": "imageValue", "imageID": "imageIDValue", "containerID": "containerIDValue", "started": true, "allocatedResources": { "allocatedResourcesKey": "0" }, "resources": { "limits": { "limitsKey": "0" }, "requests": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 52K 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) -
staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.json
"ready": true, "restartCount": 5, "image": "imageValue", "imageID": "imageIDValue", "containerID": "containerIDValue", "started": true, "allocatedResources": { "allocatedResourcesKey": "0" }, "resources": { "limits": { "limitsKey": "0" }, "requests": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 52.6K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/persistent_volume_claims_test.go
Resources: core.VolumeResourceRequirements{ Requests: core.ResourceList{ core.ResourceStorage: resource.MustParse(pvcSize), }, }, }) validPVCWithAllocatedResources.Status.AllocatedResources = core.ResourceList{ core.ResourceName(core.ResourceStorage): resource.MustParse(allocatedSize), } return validPVCWithAllocatedResources }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.5K bytes - Viewed (0) -
plugin/pkg/admission/noderestriction/admission_test.go
}, }, Status: api.PersistentVolumeClaimStatus{ Capacity: api.ResourceList{ api.ResourceStorage: resource.MustParse(allocatedResources), }, Phase: api.ClaimBound, AllocatedResources: api.ResourceList{ api.ResourceStorage: resource.MustParse(allocatedResources), }, }, } if resizeStatus != nil { claimStatusMap := map[api.ResourceName]api.ClaimResourceStatus{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 73.2K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
// AllocatedResources values come from checkpoint. It is the source-of-truth. found := false status.AllocatedResources, found = kl.statusManager.GetContainerResourceAllocation(string(pod.UID), cName) if !(container.Resources.Requests == nil && container.Resources.Limits == nil) && !found { // Log error and fallback to AllocatedResources in oldStatus if it exists
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
// updateContainerResourceAllocation updates AllocatedResources values // (for cpu & memory) from checkpoint store func (kl *Kubelet) updateContainerResourceAllocation(pod *v1.Pod) { for _, c := range pod.Spec.Containers { allocatedResources, found := kl.statusManager.GetContainerResourceAllocation(string(pod.UID), c.Name) if c.Resources.Requests != nil && found { if _, ok := allocatedResources[v1.ResourceCPU]; ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0)