Show / Hide Table of Contents

Class V1NodeSpec

NodeSpec describes the attributes that a node is created with.

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

Constructors

View Source

V1NodeSpec()

Declaration
public V1NodeSpec()
View Source

V1NodeSpec(V1NodeSpec)

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

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
Type Description
V1NodeConfigSource
View Source

EqualityContract

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

ExternalID

Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966

Declaration
[JsonPropertyName("externalID")]
public string ExternalID { get; set; }
Property Value
Type Description
string
View Source

PodCIDR

PodCIDR represents the pod IP range assigned to the node.

Declaration
[JsonPropertyName("podCIDR")]
public string PodCIDR { get; set; }
Property Value
Type Description
string
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
Type Description
IList<string>
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
Type Description
string
View Source

Taints

If specified, the node's taints.

Declaration
[JsonPropertyName("taints")]
public IList<V1Taint> Taints { get; set; }
Property Value
Type Description
IList<V1Taint>
View Source

Unschedulable

Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration

Declaration
[JsonPropertyName("unschedulable")]
public bool? Unschedulable { get; set; }
Property Value
Type Description
bool?

Methods

View Source

Equals(object?)

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

Equals(V1NodeSpec?)

Declaration
public virtual bool Equals(V1NodeSpec? other)
Parameters
Type Name Description
V1NodeSpec other
Returns
Type Description
bool
View Source

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

View Source

operator ==(V1NodeSpec?, V1NodeSpec?)

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

operator !=(V1NodeSpec?, V1NodeSpec?)

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

Implements

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