Node#

pydantic model controller.models.v1.prepuller.Node#

Information about available images on a single Kubernetes node.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "Node",
   "description": "Information about available images on a single Kubernetes node.",
   "type": "object",
   "properties": {
      "name": {
         "description": "Hostname of the Kubernetes node",
         "examples": [
            "gke-science-platform-d-core-pool-78ee-03baf5c9-7w75"
         ],
         "title": "Name of node",
         "type": "string"
      },
      "eligible": {
         "default": true,
         "description": "Whether images should be prepulled to this node",
         "examples": [
            true
         ],
         "title": "Eligible for prepulling",
         "type": "boolean"
      },
      "comment": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "If this node is not eligible for prepulling, this field contains the reason why",
         "examples": [
            "Cordoned because of disk problems"
         ],
         "title": "Reason for node ineligibility"
      },
      "cached": {
         "default": [],
         "description": "References of images cached on this node",
         "examples": [
            [
               "lighthouse.ceres/library/sketchbook:latest_daily"
            ]
         ],
         "items": {
            "type": "string"
         },
         "title": "Cached images",
         "type": "array"
      }
   },
   "required": [
      "name"
   ]
}

Fields:
field cached: list[str] = []#

References of images cached on this node

field comment: str | None = None#

If this node is not eligible for prepulling, this field contains the reason why

field eligible: bool = True#

Whether images should be prepulled to this node

field name: str [Required]#

Hostname of the Kubernetes node