NodeStatus class
NodeStatus is information about the current status of a node.
Constructors
-
NodeStatus({List<
NodeAddress> ? addresses, Map<String, String> ? allocatable, Map<String, String> ? capacity, List<NodeCondition> ? conditions, NodeConfigStatus? config, NodeDaemonEndpoints? daemonEndpoints, List<ContainerImage> ? images, NodeSystemInfo? nodeInfo, String? phase, List<AttachedVolume> ? volumesAttached, List<String> ? volumesInUse}) -
Default constructor.
const
-
NodeStatus.fromJson(Map<
String, dynamic> json) -
Creates a NodeStatus from JSON data.
factory
Properties
-
addresses
→ List<
NodeAddress> ? -
List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#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
→ Map<
String, String> ? -
Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.
final
-
capacity
→ Map<
String, String> ? -
Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity.
final
-
conditions
→ List<
NodeCondition> ? -
Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition.
final
- config → NodeConfigStatus?
-
Status of the config assigned to the node via the dynamic Kubelet config feature.
final
- daemonEndpoints → NodeDaemonEndpoints?
-
Endpoints of daemons running on the Node.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
images
→ List<
ContainerImage> ? -
List of container images on this node.
final
- nodeInfo → NodeSystemInfo?
-
Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info.
final
- phase → 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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
volumesAttached
→ List<
AttachedVolume> ? -
List of volumes that are attached to the node.
final
-
volumesInUse
→ 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
-
toJson(
) → Map< String, Object> - Converts a NodeStatus instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited