case class CSINode(metadata: Optional[ObjectMeta] = Optional.Absent, spec: CSINodeSpec) extends Product with Serializable
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.
- Alphabetic
- By Inheritance
- CSINode
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CSINode(metadata: Optional[ObjectMeta] = Optional.Absent, spec: CSINodeSpec)
Value Members
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSpec: IO[K8sFailure, CSINodeSpec]
Gets spec.
Gets spec.
This effect always succeeds, it is safe to use the field spec directly.
- val metadata: Optional[ObjectMeta]
- val spec: CSINodeSpec