Class V1NodeSpec
NodeSpec describes the attributes that a node is created with.
Assembly: KubernetesClient.dll
Syntax
public record V1NodeSpec : IEquatable<V1NodeSpec>
Constructors
View Source
V1NodeSpec()
Declaration
View Source
V1NodeSpec(V1NodeSpec)
Declaration
protected V1NodeSpec(V1NodeSpec original)
Parameters
Properties
View Source
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
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
ExternalID
Declaration
[JsonPropertyName("externalID")]
public string ExternalID { get; set; }
Property Value
View Source
PodCIDR
PodCIDR represents the pod IP range assigned to the node.
Declaration
[JsonPropertyName("podCIDR")]
public string PodCIDR { get; set; }
Property Value
View Source
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
View Source
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
View Source
Taints
If specified, the node's taints.
Declaration
[JsonPropertyName("taints")]
public IList<V1Taint> Taints { get; set; }
Property Value
View Source
Unschedulable
Declaration
[JsonPropertyName("unschedulable")]
public bool? Unschedulable { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1NodeSpec?)
Declaration
public virtual bool Equals(V1NodeSpec? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1NodeSpec?, V1NodeSpec?)
Declaration
public static bool operator ==(V1NodeSpec? left, V1NodeSpec? right)
Parameters
Returns
View Source
operator !=(V1NodeSpec?, V1NodeSpec?)
Declaration
public static bool operator !=(V1NodeSpec? left, V1NodeSpec? right)
Parameters
Returns
Implements