Documentation Index

Fetch the complete documentation index at: https://resources.realtheory.io/llms.txt

Use this file to discover all available pages before exploring further.

K8s: Node

Prev Next

This model describes information about a Node and includes the raw Node resource as returned by the Kubernetes API.

Example:

{
    "metadata": {
        "id": "1206f66c-65a1-4ae6-a7cc-e5ced6cc2ae4",
        "name": "aks-userpool-15373879-vmss000029",
        "clusterId": "f99e055f-b35d-208b-63b1-f4222b80151a",
        "clusterName": "realtheory-cluster-01",
        "owners": null,
        "timestamp": "2024-07-17T20:15:15.333644Z"
    },
    "object": {
        "metadata": {
            "name": "aks-userpool-15373879-vmss000029",
            "uid": "1206f66c-65a1-4ae6-a7cc-e5ced6cc2ae4",
            "labels": {
                "kubernetes.io/arch": "amd64",
                "kubernetes.io/os": "linux"
            }
        },
        "spec": {
            "providerID": "azure:///subscriptions/.../virtualMachines/29"
        },
        "status": {
            "capacity": {
                "cpu": "4",
                "memory": "16393220Ki",
                "pods": "110"
            },
            "allocatable": {
                "cpu": "3860m",
                "memory": "12278788Ki",
                "pods": "110"
            }
        }
    },
    "extensions": {
        "status": {
            "allocatable": {
                "cpu": "3860m",
                "ephemeral-storage": "119703055367",
                "memory": "12278788Ki",
                "pods": "110"
            },
            "capacity": {
                "cpu": "4",
                "ephemeral-storage": "133665772Ki",
                "memory": "16393220Ki",
                "pods": "110"
            }
        }
    }
}

Note: Content has been omitted from the object property in the JSON response above for brevity.

where:

  • metadata
    • id: Represents the ID of the node.
    • name: Represents the name of the node.
    • clusterId: Represents the ID of the cluster associated with the node.
    • clusterName: Represents the name of the cluster associated with the node.
    • owners: Represents a list of owner records linked to the node. This value can be empty if not applicable.
    • timestamp: Represents the timestamp of the record.
  • object: Represents the raw Kubernetes Node resource as returned by the Kubernetes API. This is a standard Node object, including its full metadata, spec, and status. Refer to the official Kubernetes API reference for a description of its fields.
  • extensions
    • status
      • allocatable: Represents the node's allocatable resources, as a set of key/value pairs, such as CPU, memory, ephemeral storage, and pods.
      • capacity: Represents the node's total resource capacity, as a set of key/value pairs, such as CPU, memory, ephemeral storage, and pods.