Show / Hide Table of Contents

Class V1NodeStatus

NodeStatus is information about the current status of a node.

Inheritance
object
V1NodeStatus
Implements
IEquatable<V1NodeStatus>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1NodeStatus : IEquatable<V1NodeStatus>

Constructors

V1NodeStatus()

Declaration
public V1NodeStatus()

V1NodeStatus(V1NodeStatus)

Declaration
protected V1NodeStatus(V1NodeStatus original)
Parameters
Type Name Description
V1NodeStatus original

Properties

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).

Declaration
[JsonPropertyName("addresses")]
public IList<V1NodeAddress> Addresses { get; set; }
Property Value
Type Description
IList<V1NodeAddress>

Allocatable

Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.

Declaration
[JsonPropertyName("allocatable")]
public IDictionary<string, ResourceQuantity> Allocatable { get; set; }
Property Value
Type Description
IDictionary<string, ResourceQuantity>

Capacity

Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity

Declaration
[JsonPropertyName("capacity")]
public IDictionary<string, ResourceQuantity> Capacity { get; set; }
Property Value
Type Description
IDictionary<string, ResourceQuantity>

Conditions

Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition

Declaration
[JsonPropertyName("conditions")]
public IList<V1NodeCondition> Conditions { get; set; }
Property Value
Type Description
IList<V1NodeCondition>

Config

Status of the config assigned to the node via the dynamic Kubelet config feature.

Declaration
[JsonPropertyName("config")]
public V1NodeConfigStatus Config { get; set; }
Property Value
Type Description
V1NodeConfigStatus

DaemonEndpoints

Endpoints of daemons running on the Node.

Declaration
[JsonPropertyName("daemonEndpoints")]
public V1NodeDaemonEndpoints DaemonEndpoints { get; set; }
Property Value
Type Description
V1NodeDaemonEndpoints

DeclaredFeatures

DeclaredFeatures represents the features related to feature gates that are declared by the node.

Declaration
[JsonPropertyName("declaredFeatures")]
public IList<string> DeclaredFeatures { get; set; }
Property Value
Type Description
IList<string>

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type

Features

Features describes the set of features implemented by the CRI implementation.

Declaration
[JsonPropertyName("features")]
public V1NodeFeatures Features { get; set; }
Property Value
Type Description
V1NodeFeatures

Images

List of container images on this node

Declaration
[JsonPropertyName("images")]
public IList<V1ContainerImage> Images { get; set; }
Property Value
Type Description
IList<V1ContainerImage>

NodeInfo

Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/reference/node/node-status/#info

Declaration
[JsonPropertyName("nodeInfo")]
public V1NodeSystemInfo NodeInfo { get; set; }
Property Value
Type Description
V1NodeSystemInfo

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.

Declaration
[JsonPropertyName("phase")]
public string Phase { get; set; }
Property Value
Type Description
string

RuntimeHandlers

The available runtime handlers.

Declaration
[JsonPropertyName("runtimeHandlers")]
public IList<V1NodeRuntimeHandler> RuntimeHandlers { get; set; }
Property Value
Type Description
IList<V1NodeRuntimeHandler>

VolumesAttached

List of volumes that are attached to the node.

Declaration
[JsonPropertyName("volumesAttached")]
public IList<V1AttachedVolume> VolumesAttached { get; set; }
Property Value
Type Description
IList<V1AttachedVolume>

VolumesInUse

List of attachable volumes in use (mounted) by the node.

Declaration
[JsonPropertyName("volumesInUse")]
public IList<string> VolumesInUse { get; set; }
Property Value
Type Description
IList<string>

Methods

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

Equals(V1NodeStatus?)

Declaration
public virtual bool Equals(V1NodeStatus? other)
Parameters
Type Name Description
V1NodeStatus other
Returns
Type Description
bool

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

operator ==(V1NodeStatus?, V1NodeStatus?)

Declaration
public static bool operator ==(V1NodeStatus? left, V1NodeStatus? right)
Parameters
Type Name Description
V1NodeStatus left
V1NodeStatus right
Returns
Type Description
bool

operator !=(V1NodeStatus?, V1NodeStatus?)

Declaration
public static bool operator !=(V1NodeStatus? left, V1NodeStatus? right)
Parameters
Type Name Description
V1NodeStatus left
V1NodeStatus right
Returns
Type Description
bool

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX