PrepullerImageStatus

pydantic model controller.models.v1.prepuller.PrepullerImageStatus

Status of the images being prepulled.

Parameters:

data (Any)

Show JSON schema
{
   "title": "PrepullerImageStatus",
   "description": "Status of the images being prepulled.",
   "type": "object",
   "properties": {
      "prepulled": {
         "default": [],
         "items": {
            "$ref": "#/$defs/NodeImage"
         },
         "title": "Successfully cached images",
         "type": "array"
      },
      "pending": {
         "default": [],
         "description": "Images that are missing on at least one eligible node",
         "items": {
            "$ref": "#/$defs/NodeImage"
         },
         "title": "Images not yet cached",
         "type": "array"
      }
   },
   "$defs": {
      "NodeImage": {
         "description": "An available image present on at least some Kubernetes nodes.",
         "properties": {
            "reference": {
               "description": "Reference of image, which includes the registry host name, the normally-two-part image name within that registry, and the tag or hash of the specific version of that image.",
               "examples": [
                  "lighthouse.ceres/library/sketchbook:latest_daily"
               ],
               "title": "Docker reference of image",
               "type": "string"
            },
            "tag": {
               "description": "Tag portion of the image reference",
               "examples": [
                  "w_2023_04"
               ],
               "title": "Image tag",
               "type": "string"
            },
            "name": {
               "description": "Tag of the image formatted for humans",
               "examples": [
                  "Latest Daily (Daily 2077_10_23)"
               ],
               "title": "Human-readable tag",
               "type": "string"
            },
            "digest": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "description": "Full digest of image if known",
               "examples": [
                  "sha256:e693782192ecef4f7846ad2b21b1574682e700747f94c5a256b5731331a2eec2"
               ],
               "title": "Digest of image"
            },
            "size": {
               "anyOf": [
                  {
                     "type": "integer"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "description": "Size of the image in bytes if reported by the node",
               "examples": [
                  8675309
               ],
               "title": "Size in bytes"
            },
            "nodes": {
               "default": [],
               "description": "Nodes on which this image is cached",
               "examples": [
                  [
                     "node-1",
                     "node-2"
                  ]
               ],
               "items": {
                  "type": "string"
               },
               "title": "Nodes caching image",
               "type": "array"
            },
            "missing": {
               "default": [],
               "description": "Nodes on which the image should be cached but isn't",
               "examples": [
                  [
                     "node-3"
                  ]
               ],
               "items": {
                  "type": "string"
               },
               "title": "Nodes not caching image",
               "type": "array"
            }
         },
         "required": [
            "reference",
            "tag",
            "name"
         ],
         "title": "NodeImage",
         "type": "object"
      }
   }
}

Fields:
field pending: Annotated[list[NodeImage], Field(title='Images not yet cached', description='Images that are missing on at least one eligible node')] = []

Images that are missing on at least one eligible node

field prepulled: Annotated[list[NodeImage], Field(title='Successfully cached images')] = []