Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::CinderVolumeSource
source · pub struct CinderVolumeSource {
pub fs_type: Option<String>,
pub read_only: Option<bool>,
pub volume_id: String,
}
Expand description
Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.
Fields§
§fs_type: Option<String>
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
read_only: Option<bool>
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
volume_id: String
volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
Trait Implementations§
source§impl Clone for CinderVolumeSource
impl Clone for CinderVolumeSource
source§fn clone(&self) -> CinderVolumeSource
fn clone(&self) -> CinderVolumeSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more