Struct k8s_openapi::api::storage::v1::CSINodeDriver
source · pub struct CSINodeDriver {
pub allocatable: Option<VolumeNodeResources>,
pub name: String,
pub node_id: String,
pub topology_keys: Option<Vec<String>>,
}
Expand description
CSINodeDriver holds information about the specification of one CSI driver installed on a node
Fields§
§allocatable: Option<VolumeNodeResources>
allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
name: String
name represents 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.
node_id: String
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.
topology_keys: Option<Vec<String>>
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.
Trait Implementations§
source§impl Clone for CSINodeDriver
impl Clone for CSINodeDriver
source§fn clone(&self) -> CSINodeDriver
fn clone(&self) -> CSINodeDriver
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CSINodeDriver
impl Debug for CSINodeDriver
source§impl DeepMerge for CSINodeDriver
impl DeepMerge for CSINodeDriver
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.source§impl Default for CSINodeDriver
impl Default for CSINodeDriver
source§fn default() -> CSINodeDriver
fn default() -> CSINodeDriver
source§impl<'de> Deserialize<'de> for CSINodeDriver
impl<'de> Deserialize<'de> for CSINodeDriver
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
source§impl PartialEq for CSINodeDriver
impl PartialEq for CSINodeDriver
source§impl Serialize for CSINodeDriver
impl Serialize for CSINodeDriver
impl StructuralPartialEq for CSINodeDriver
Auto Trait Implementations§
impl Freeze for CSINodeDriver
impl RefUnwindSafe for CSINodeDriver
impl Send for CSINodeDriver
impl Sync for CSINodeDriver
impl Unpin for CSINodeDriver
impl UnwindSafe for CSINodeDriver
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)