struct

Kubernetes::NodeStatus

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

NodeStatus is information about the current status of a node.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

addresses

List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).

Source
addresses=(addresses : Array(NodeAddress) | Nil)

List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).

Source
allocatable

Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.

Source
allocatable=(allocatable : Hash(String, Quantity) | Nil)

Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.

Source
capacity

Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity

Source
capacity=(capacity : Hash(String, Quantity) | Nil)

Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity

Source
conditions

Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition

Source
conditions=(conditions : Array(NodeCondition) | Nil)

Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition

Source
config

Status of the config assigned to the node via the dynamic Kubelet config feature.

Source
config=(config : NodeConfigStatus | Nil)

Status of the config assigned to the node via the dynamic Kubelet config feature.

Source
daemon_endpoints

Endpoints of daemons running on the Node.

Source
daemon_endpoints=(daemon_endpoints : NodeDaemonEndpoints | Nil)

Endpoints of daemons running on the Node.

Source
declared_features

DeclaredFeatures represents the features related to feature gates that are declared by the node.

Source
declared_features=(declared_features : Array(String) | Nil)

DeclaredFeatures represents the features related to feature gates that are declared by the node.

Source
features

Features describes the set of features implemented by the CRI implementation.

Source
features=(features : NodeFeatures | Nil)

Features describes the set of features implemented by the CRI implementation.

Source
images

List of container images on this node

Source
images=(images : Array(ContainerImage) | Nil)

List of container images on this node

Source
node_info

Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/reference/node/node-status/#info

Source
node_info=(node_info : NodeSystemInfo | Nil)

Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/reference/node/node-status/#info

Source
phase

NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.

Source
phase=(phase : String | Nil)

NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.

Source
runtime_handlers

The available runtime handlers.

Source
runtime_handlers=(runtime_handlers : Array(NodeRuntimeHandler) | Nil)

The available runtime handlers.

Source
volumes_attached

List of volumes that are attached to the node.

Source
volumes_attached=(volumes_attached : Array(AttachedVolume) | Nil)

List of volumes that are attached to the node.

Source
volumes_in_use

List of attachable volumes in use (mounted) by the node.

Source
volumes_in_use=(volumes_in_use : Array(String) | Nil)

List of attachable volumes in use (mounted) by the node.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source