kubernetes.aio.client.models.v1_node_status module¶
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: release-1.36 Generated by: https://openapi-generator.tech
- class kubernetes.aio.client.models.v1_node_status.V1NodeStatus(addresses=None, allocatable=None, capacity=None, conditions=None, config=None, daemon_endpoints=None, declared_features=None, features=None, images=None, node_info=None, phase=None, runtime_handlers=None, volumes_attached=None, volumes_in_use=None, local_vars_configuration=None)¶
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- property addresses¶
Gets the addresses of this V1NodeStatus. # noqa: E501
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). # noqa: E501
- Returns:
The addresses of this V1NodeStatus. # noqa: E501
- Return type:
list[V1NodeAddress]
- property allocatable¶
Gets the allocatable of this V1NodeStatus. # noqa: E501
Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. # noqa: E501
- Returns:
The allocatable of this V1NodeStatus. # noqa: E501
- Return type:
dict[str, str]
- attribute_map = {'addresses': 'addresses', 'allocatable': 'allocatable', 'capacity': 'capacity', 'conditions': 'conditions', 'config': 'config', 'daemon_endpoints': 'daemonEndpoints', 'declared_features': 'declaredFeatures', 'features': 'features', 'images': 'images', 'node_info': 'nodeInfo', 'phase': 'phase', 'runtime_handlers': 'runtimeHandlers', 'volumes_attached': 'volumesAttached', 'volumes_in_use': 'volumesInUse'}¶
- property capacity¶
Gets the capacity of this V1NodeStatus. # noqa: E501
Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity # noqa: E501
- Returns:
The capacity of this V1NodeStatus. # noqa: E501
- Return type:
dict[str, str]
- property conditions¶
Gets the conditions of this V1NodeStatus. # noqa: E501
Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition # noqa: E501
- Returns:
The conditions of this V1NodeStatus. # noqa: E501
- Return type:
list[V1NodeCondition]
- property config¶
Gets the config of this V1NodeStatus. # noqa: E501
- Returns:
The config of this V1NodeStatus. # noqa: E501
- Return type:
- property daemon_endpoints¶
Gets the daemon_endpoints of this V1NodeStatus. # noqa: E501
- Returns:
The daemon_endpoints of this V1NodeStatus. # noqa: E501
- Return type:
- property declared_features¶
Gets the declared_features of this V1NodeStatus. # noqa: E501
DeclaredFeatures represents the features related to feature gates that are declared by the node. # noqa: E501
- Returns:
The declared_features of this V1NodeStatus. # noqa: E501
- Return type:
list[str]
- property features¶
Gets the features of this V1NodeStatus. # noqa: E501
- Returns:
The features of this V1NodeStatus. # noqa: E501
- Return type:
- property images¶
Gets the images of this V1NodeStatus. # noqa: E501
List of container images on this node # noqa: E501
- Returns:
The images of this V1NodeStatus. # noqa: E501
- Return type:
list[V1ContainerImage]
- property node_info¶
Gets the node_info of this V1NodeStatus. # noqa: E501
- Returns:
The node_info of this V1NodeStatus. # noqa: E501
- Return type:
- openapi_types = {'addresses': 'list[V1NodeAddress]', 'allocatable': 'dict[str, str]', 'capacity': 'dict[str, str]', 'conditions': 'list[V1NodeCondition]', 'config': 'V1NodeConfigStatus', 'daemon_endpoints': 'V1NodeDaemonEndpoints', 'declared_features': 'list[str]', 'features': 'V1NodeFeatures', 'images': 'list[V1ContainerImage]', 'node_info': 'V1NodeSystemInfo', 'phase': 'str', 'runtime_handlers': 'list[V1NodeRuntimeHandler]', 'volumes_attached': 'list[V1AttachedVolume]', 'volumes_in_use': 'list[str]'}¶
- property phase¶
Gets the phase of this V1NodeStatus. # noqa: E501
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. # noqa: E501
- Returns:
The phase of this V1NodeStatus. # noqa: E501
- Return type:
str
- property runtime_handlers¶
Gets the runtime_handlers of this V1NodeStatus. # noqa: E501
The available runtime handlers. # noqa: E501
- Returns:
The runtime_handlers of this V1NodeStatus. # noqa: E501
- Return type:
list[V1NodeRuntimeHandler]
- to_dict(serialize=False)¶
Returns the model properties as a dict
- to_str()¶
Returns the string representation of the model
- property volumes_attached¶
Gets the volumes_attached of this V1NodeStatus. # noqa: E501
List of volumes that are attached to the node. # noqa: E501
- Returns:
The volumes_attached of this V1NodeStatus. # noqa: E501
- Return type:
list[V1AttachedVolume]
- property volumes_in_use¶
Gets the volumes_in_use of this V1NodeStatus. # noqa: E501
List of attachable volumes in use (mounted) by the node. # noqa: E501
- Returns:
The volumes_in_use of this V1NodeStatus. # noqa: E501
- Return type:
list[str]