Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for imageID (0.21 sec)

  1. pkg/kubelet/images/image_gc_manager.go

    			continue
    
    		}
    		if !isRuntimeClassInImageCriAPIEnabled {
    			images = append(images, evictionInfo{
    				id:          image,
    				imageRecord: *record,
    			})
    		} else {
    			imageID := getImageIDFromTuple(image)
    			// Ensure imageID is valid or else continue
    			if imageID == "" {
    				im.recorder.Eventf(im.nodeRef, v1.EventTypeWarning, "ImageID is not valid, skipping, ImageID: %v", imageID)
    				continue
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. pkg/kubelet/images/image_gc_manager_test.go

    }
    
    // Returns the id of the image with the given ID.
    func imageID(id int) string {
    	return fmt.Sprintf("image-%d", id)
    }
    
    // Returns the name of the image with the given ID.
    func imageName(id int) string {
    	return imageID(id) + "-name"
    }
    
    // Make an image with the specified ID.
    func makeImage(id int, size int64) container.Image {
    	return container.Image{
    		ID:   imageID(id),
    		Size: size,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.json

                "finishedAt": "2006-01-01T01:01:01Z",
                "containerID": "containerIDValue"
              }
            },
            "ready": true,
            "restartCount": 5,
            "image": "imageValue",
            "imageID": "imageIDValue",
            "containerID": "containerIDValue",
            "started": true,
            "allocatedResources": {
              "allocatedResourcesKey": "0"
            },
            "resources": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.yaml

        reason: reasonValue
        status: statusValue
        type: typeValue
      containerStatuses:
      - allocatedResources:
          allocatedResourcesKey: "0"
        containerID: containerIDValue
        image: imageValue
        imageID: imageIDValue
        lastState:
          running:
            startedAt: "2001-01-01T01:01:01Z"
          terminated:
            containerID: containerIDValue
            exitCode: 1
            finishedAt: "2006-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstatus.go

    	RestartCount         *int32                                  `json:"restartCount,omitempty"`
    	Image                *string                                 `json:"image,omitempty"`
    	ImageID              *string                                 `json:"imageID,omitempty"`
    	ContainerID          *string                                 `json:"containerID,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/helpers.go

    	if c == nil || c.Id == "" || c.Image == nil {
    		return nil, fmt.Errorf("unable to convert a nil pointer to a runtime container")
    	}
    
    	// Keep backwards compatibility to older runtimes, c.ImageId has been added in v1.30
    	imageID := c.ImageRef
    	if c.ImageId != "" {
    		imageID = c.ImageId
    	}
    
    	annotatedInfo := getContainerInfoFromAnnotations(c.Annotations)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PodStatusResult.json

                "finishedAt": "2006-01-01T01:01:01Z",
                "containerID": "containerIDValue"
              }
            },
            "ready": true,
            "restartCount": 5,
            "image": "imageValue",
            "imageID": "imageIDValue",
            "containerID": "containerIDValue",
            "started": true,
            "allocatedResources": {
              "allocatedResourcesKey": "0"
            },
            "resources": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PodStatusResult.yaml

        reason: reasonValue
        status: statusValue
        type: typeValue
      containerStatuses:
      - allocatedResources:
          allocatedResourcesKey: "0"
        containerID: containerIDValue
        image: imageValue
        imageID: imageIDValue
        lastState:
          running:
            startedAt: "2001-01-01T01:01:01Z"
          terminated:
            containerID: containerIDValue
            exitCode: 1
            finishedAt: "2006-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/helpers_test.go

    	c := &runtimeapi.Container{
    		Id: "test-id",
    		Metadata: &runtimeapi.ContainerMetadata{
    			Name:    "test-name",
    			Attempt: 1,
    		},
    		Image:    &runtimeapi.ImageSpec{Image: "test-image"},
    		ImageId:  "test-image-id",
    		ImageRef: "test-image-ref",
    		State:    runtimeapi.ContainerState_CONTAINER_RUNNING,
    		Annotations: map[string]string{
    			containerHashLabel: "1234",
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Pod.yaml

        reason: reasonValue
        status: statusValue
        type: typeValue
      containerStatuses:
      - allocatedResources:
          allocatedResourcesKey: "0"
        containerID: containerIDValue
        image: imageValue
        imageID: imageIDValue
        lastState:
          running:
            startedAt: "2001-01-01T01:01:01Z"
          terminated:
            containerID: containerIDValue
            exitCode: 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top