NodeStatusPatch

data class NodeStatusPatch(val addresses: List<NodeAddressPatch>? = null, val allocatable: Map<String, String>? = null, val capacity: Map<String, String>? = null, val conditions: List<NodeConditionPatch>? = null, val config: NodeConfigStatusPatch? = null, val daemonEndpoints: NodeDaemonEndpointsPatch? = null, val features: NodeFeaturesPatch? = null, val images: List<ContainerImagePatch>? = null, val nodeInfo: NodeSystemInfoPatch? = null, val phase: String? = null, val runtimeHandlers: List<NodeRuntimeHandlerPatch>? = null, val volumesAttached: List<AttachedVolumePatch>? = null, val volumesInUse: List<String>? = null)

NodeStatus is information about the current status of a node.

Constructors

Link copied to clipboard
constructor(addresses: List<NodeAddressPatch>? = null, allocatable: Map<String, String>? = null, capacity: Map<String, String>? = null, conditions: List<NodeConditionPatch>? = null, config: NodeConfigStatusPatch? = null, daemonEndpoints: NodeDaemonEndpointsPatch? = null, features: NodeFeaturesPatch? = null, images: List<ContainerImagePatch>? = null, nodeInfo: NodeSystemInfoPatch? = null, phase: String? = null, runtimeHandlers: List<NodeRuntimeHandlerPatch>? = null, volumesAttached: List<AttachedVolumePatch>? = null, volumesInUse: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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).

Link copied to clipboard
val allocatable: Map<String, String>? = null

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

Link copied to clipboard
val capacity: Map<String, String>? = null

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Endpoints of daemons running on the Node.

Link copied to clipboard

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

Link copied to clipboard

List of container images on this node

Link copied to clipboard

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

Link copied to clipboard
val phase: String? = null

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.

Link copied to clipboard

The available runtime handlers.

Link copied to clipboard

List of volumes that are attached to the node.

Link copied to clipboard
val volumesInUse: List<String>? = null

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