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
V1CSINode()
Declaration
V1CSINode(V1CSINode)
Declaration
protected V1CSINode(V1CSINode original)
Parameters
Fields
KubeApiVersion
Declaration
public const string KubeApiVersion = "v1"
Field Value
KubeGroup
Declaration
public const string KubeGroup = "storage.k8s.io"
Field Value
KubeKind
Declaration
public const string KubeKind = "CSINode"
Field Value
KubePluralName
Declaration
public const string KubePluralName = "csinodes"
Field Value
Properties
ApiVersion
Declaration
[JsonPropertyName("apiVersion")]
public string ApiVersion { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Kind
Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
Standard object's metadata. metadata.name must be the Kubernetes node name.
Declaration
[JsonPropertyName("metadata")]
public V1ObjectMeta Metadata { get; set; }
Property Value
Spec
spec is the specification of CSINode
Declaration
[JsonPropertyName("spec")]
public V1CSINodeSpec Spec { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1CSINode?)
Declaration
public virtual bool Equals(V1CSINode? 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 ==(V1CSINode?, V1CSINode?)
Declaration
public static bool operator ==(V1CSINode? left, V1CSINode? right)
Parameters
Returns
operator !=(V1CSINode?, V1CSINode?)
Declaration
public static bool operator !=(V1CSINode? left, V1CSINode? right)
Parameters
Returns
Implements
Extension Methods