NodeStatusPatch class

NodeStatus is information about the current status of a node.

Constructors

NodeStatusPatch({Input<List<NodeAddressPatch>>? addresses, Input<Map<String, String>>? allocatable, Input<Map<String, String>>? capacity, Input<List<NodeConditionPatch>>? conditions, Input<NodeConfigStatusPatch>? config, Input<NodeDaemonEndpointsPatch>? daemonEndpoints, Input<List<String>>? declaredFeatures, Input<NodeFeaturesPatch>? features, Input<List<ContainerImagePatch>>? images, Input<NodeSystemInfoPatch>? nodeInfo, Input<String>? phase, Input<List<NodeRuntimeHandlerPatch>>? runtimeHandlers, Input<List<AttachedVolumePatch>>? volumesAttached, Input<List<String>>? volumesInUse})
Creates a new NodeStatusPatch. 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). allocatable Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. capacity Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity conditions Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition config Status of the config assigned to the node via the dynamic Kubelet config feature. daemonEndpoints Endpoints of daemons running on the Node. declaredFeatures DeclaredFeatures represents the features related to feature gates that are declared by the node. features Features describes the set of features implemented by the CRI implementation. images List of container images on this node nodeInfo Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/reference/node/node-status/#info 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. runtimeHandlers The available runtime handlers. volumesAttached List of volumes that are attached to the node. volumesInUse List of attachable volumes in use (mounted) by the node.
const
NodeStatusPatch.fromMap(Map<String, dynamic> map)
factory

Properties

addresses → Input<List<NodeAddressPatch>>?
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).
final
allocatable → Input<Map<String, String>>?
Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.
final
capacity → Input<Map<String, String>>?
Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity
final
conditions → Input<List<NodeConditionPatch>>?
Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition
final
config → Input<NodeConfigStatusPatch>?
Status of the config assigned to the node via the dynamic Kubelet config feature.
final
daemonEndpoints → Input<NodeDaemonEndpointsPatch>?
Endpoints of daemons running on the Node.
final
declaredFeatures → Input<List<String>>?
DeclaredFeatures represents the features related to feature gates that are declared by the node.
final
features → Input<NodeFeaturesPatch>?
Features describes the set of features implemented by the CRI implementation.
final
hashCode → int
The hash code for this object.
no setterinherited
images → Input<List<ContainerImagePatch>>?
List of container images on this node
final
nodeInfo → Input<NodeSystemInfoPatch>?
Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/reference/node/node-status/#info
final
phase → Input<String>?
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.
final
runtimeHandlers → Input<List<NodeRuntimeHandlerPatch>>?
The available runtime handlers.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
volumesAttached → Input<List<AttachedVolumePatch>>?
List of volumes that are attached to the node.
final
volumesInUse → Input<List<String>>?
List of attachable volumes in use (mounted) by the node.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited