Class V1CSINode
CSINode holds information about all CSI drivers installed on a node. CSI drivers
do not need to create the CSINode object directly. As long as they use the
node-driver-registrar sidecar container, the kubelet will automatically populate
the CSINode object for the CSI driver as part of kubelet plugin registration.
CSINode has the same name as a node. If the object is missing, it means either
there are no CSI Drivers available on the node, or the Kubelet version is low
enough that it doesn't create this object. CSINode has an OwnerReference that
points to the corresponding node object.
Assembly: KubernetesClient.dll
Syntax
[KubernetesEntity(Group = "storage.k8s.io", Kind = "CSINode", ApiVersion = "v1", PluralName = "csinodes")]
public record V1CSINode : IKubernetesObject<V1ObjectMeta>, IKubernetesObject, IMetadata<V1ObjectMeta>, ISpec<V1CSINodeSpec>, IEquatable<V1CSINode>
Constructors
View Source
V1CSINode()
Declaration
View Source
V1CSINode(V1CSINode)
Declaration
protected V1CSINode(V1CSINode original)
Parameters
Fields
View Source
KubeApiVersion
Declaration
public const string KubeApiVersion = "v1"
Field Value
View Source
KubeGroup
Declaration
public const string KubeGroup = "storage.k8s.io"
Field Value
View Source
KubeKind
Declaration
public const string KubeKind = "CSINode"
Field Value
View Source
KubePluralName
Declaration
public const string KubePluralName = "csinodes"
Field Value
Properties
View Source
ApiVersion
Declaration
[JsonPropertyName("apiVersion")]
public string ApiVersion { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Kind
Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
View Source
Standard object's metadata. metadata.name must be the Kubernetes node name.
Declaration
[JsonPropertyName("metadata")]
public V1ObjectMeta Metadata { get; set; }
Property Value
View Source
Spec
spec is the specification of CSINode
Declaration
[JsonPropertyName("spec")]
public V1CSINodeSpec Spec { 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(V1CSINode?)
Declaration
public virtual bool Equals(V1CSINode? 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 ==(V1CSINode?, V1CSINode?)
Declaration
public static bool operator ==(V1CSINode? left, V1CSINode? right)
Parameters
Returns
View Source
operator !=(V1CSINode?, V1CSINode?)
Declaration
public static bool operator !=(V1CSINode? left, V1CSINode? right)
Parameters
Returns
Implements
Extension Methods