Class V1NodeSpec
NodeSpec describes the attributes that a node is created with.
Assembly: KubernetesClient.dll
Syntax
public record V1NodeSpec : IEquatable<V1NodeSpec>
Constructors
V1NodeSpec()
Declaration
V1NodeSpec(V1NodeSpec)
Declaration
protected V1NodeSpec(V1NodeSpec original)
Parameters
Properties
ConfigSource
Deprecated: Previously used to specify the source of the node's configuration
for the DynamicKubeletConfig feature. This feature is removed.
Declaration
[JsonPropertyName("configSource")]
public V1NodeConfigSource ConfigSource { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
ExternalID
Declaration
[JsonPropertyName("externalID")]
public string ExternalID { get; set; }
Property Value
PodCIDR
PodCIDR represents the pod IP range assigned to the node.
Declaration
[JsonPropertyName("podCIDR")]
public string PodCIDR { get; set; }
Property Value
PodCIDRs
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that
node. If this field is specified, the 0th entry must match the podCIDR field. It
may contain at most 1 value for each of IPv4 and IPv6.
Declaration
[JsonPropertyName("podCIDRs")]
public IList<string> PodCIDRs { get; set; }
Property Value
ProviderID
ID of the node assigned by the cloud provider in the format:
<ProviderName>://<ProviderSpecificNodeID>
Declaration
[JsonPropertyName("providerID")]
public string ProviderID { get; set; }
Property Value
Taints
If specified, the node's taints.
Declaration
[JsonPropertyName("taints")]
public IList<V1Taint> Taints { get; set; }
Property Value
Unschedulable
Declaration
[JsonPropertyName("unschedulable")]
public bool? Unschedulable { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1NodeSpec?)
Declaration
public virtual bool Equals(V1NodeSpec? other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(V1NodeSpec?, V1NodeSpec?)
Declaration
public static bool operator ==(V1NodeSpec? left, V1NodeSpec? right)
Parameters
Returns
operator !=(V1NodeSpec?, V1NodeSpec?)
Declaration
public static bool operator !=(V1NodeSpec? left, V1NodeSpec? right)
Parameters
Returns
Implements