NodeStatus constructor
- Input<
List< ? addresses,NodeAddress> > - Input<
Map< ? allocatable,String, String> > - Input<
Map< ? capacity,String, String> > - Input<
List< ? conditions,NodeCondition> > - Input<
NodeConfigStatus> ? config, - Input<
NodeDaemonEndpoints> ? daemonEndpoints, - Input<
List< ? declaredFeatures,String> > - Input<
NodeFeatures> ? features, - Input<
List< ? images,ContainerImage> > - Input<
NodeSystemInfo> ? nodeInfo, - Input<
String> ? phase, - Input<
List< ? runtimeHandlers,NodeRuntimeHandler> > - Input<
List< ? volumesAttached,AttachedVolume> > - Input<
List< ? volumesInUse,String> >
Creates a new NodeStatus.
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.
Implementation
const NodeStatus({
this.addresses,
this.allocatable,
this.capacity,
this.conditions,
this.config,
this.daemonEndpoints,
this.declaredFeatures,
this.features,
this.images,
this.nodeInfo,
this.phase,
this.runtimeHandlers,
this.volumesAttached,
this.volumesInUse,
});