NodeStatus class
NodeStatus is information about the current status of a node.
Constructors
-
NodeStatus({Input<
List< ? addresses, Input<NodeAddress> >Map< ? allocatable, Input<String, String> >Map< ? capacity, Input<String, String> >List< ? conditions, Input<NodeCondition> >NodeConfigStatus> ? config, Input<NodeDaemonEndpoints> ? daemonEndpoints, Input<List< ? declaredFeatures, Input<String> >NodeFeatures> ? features, Input<List< ? images, Input<ContainerImage> >NodeSystemInfo> ? nodeInfo, Input<String> ? phase, Input<List< ? runtimeHandlers, Input<NodeRuntimeHandler> >List< ? volumesAttached, Input<AttachedVolume> >List< ? volumesInUse})String> > -
Creates a new NodeStatus.
addressesList 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).allocatableAllocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.capacityCapacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacityconditionsConditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#conditionconfigStatus of the config assigned to the node via the dynamic Kubelet config feature.daemonEndpointsEndpoints of daemons running on the Node.declaredFeaturesDeclaredFeatures represents the features related to feature gates that are declared by the node.featuresFeatures describes the set of features implemented by the CRI implementation.imagesList of container images on this nodenodeInfoSet of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/reference/node/node-status/#infophaseNodePhase 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.runtimeHandlersThe available runtime handlers.volumesAttachedList of volumes that are attached to the node.volumesInUseList of attachable volumes in use (mounted) by the node.const -
NodeStatus.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
addresses
→ Input<
List< ?NodeAddress> > -
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< ?NodeCondition> > -
Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition
final
-
config
→ Input<
NodeConfigStatus> ? -
Status of the config assigned to the node via the dynamic Kubelet config feature.
final
-
daemonEndpoints
→ Input<
NodeDaemonEndpoints> ? -
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<
NodeFeatures> ? -
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< ?ContainerImage> > -
List of container images on this node
final
-
nodeInfo
→ Input<
NodeSystemInfo> ? -
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< ?NodeRuntimeHandler> > -
The available runtime handlers.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
volumesAttached
→ Input<
List< ?AttachedVolume> > -
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