Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 56 for AllocatedResources (0.29 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. pkg/api/pod/util_test.go

    						{
    							Name:               "c1",
    							Image:              "image",
    							AllocatedResources: api.ResourceList{api.ResourceCPU: resource.MustParse("100m")},
    						},
    						{
    							Name:               "c2",
    							Image:              "image",
    							AllocatedResources: api.ResourceList{api.ResourceCPU: resource.MustParse("200m")},
    						},
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
Back to top