case class CSINodeDriver(allocatable: Optional[VolumeNodeResources] = Optional.Absent, name: String, nodeID: String, topologyKeys: Optional[Vector[String]] = Optional.Absent) extends Product with Serializable
CSINodeDriver holds information about the specification of one CSI driver installed on a node
- name
This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
- nodeID
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
- topologyKeys
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
- Alphabetic
- By Inheritance
- CSINodeDriver
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CSINodeDriver(allocatable: Optional[VolumeNodeResources] = Optional.Absent, name: String, nodeID: String, topologyKeys: Optional[Vector[String]] = Optional.Absent)
- name
This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
- nodeID
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
- topologyKeys
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
Value Members
- val allocatable: Optional[VolumeNodeResources]
-
def
getAllocatable: IO[K8sFailure, VolumeNodeResources]
Gets allocatable.
Gets allocatable.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getName: IO[K8sFailure, String]
This is the name of the CSI driver that this object refers to.
This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
This effect always succeeds, it is safe to use the field name directly.
-
def
getNodeID: IO[K8sFailure, String]
nodeID of the node from the driver point of view.
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
This effect always succeeds, it is safe to use the field nodeID directly.
-
def
getTopologyKeys: IO[K8sFailure, Vector[String]]
topologyKeys is the list of keys supported by the driver.
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val name: String
- val nodeID: String
- val topologyKeys: Optional[Vector[String]]