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: Annotated[list[str], Field(title='Cached images', description='References of images cached on this node', examples=[['lighthouse.ceres/library/sketchbook:latest_daily']])] = []

References of images cached on this node

field comment: Annotated[str | None, Field(title='Reason for node ineligibility', description='If this node is not eligible for prepulling, this field contains the reason why', examples=['Cordoned because of disk problems'])] = None

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

field eligible: Annotated[bool, Field(title='Eligible for prepulling', description='Whether images should be prepulled to this node', examples=[True])] = True

Whether images should be prepulled to this node

field name: Annotated[str, Field(title='Name of node', description='Hostname of the Kubernetes node', examples=['gke-science-platform-d-core-pool-78ee-03baf5c9-7w75'])] [Required]

Hostname of the Kubernetes node