CinderVolumeSource

data class CinderVolumeSource(val fsType: String? = null, val readOnly: Boolean? = null, val secretRef: LocalObjectReference? = null, val volumeID: String)

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.

Constructors

Link copied to clipboard
constructor(fsType: String? = null, readOnly: Boolean? = null, secretRef: LocalObjectReference? = null, volumeID: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val fsType: String? = null

fsType is the 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://examples.k8s.io/mysql-cinder-pd/README.md

Link copied to clipboard
val readOnly: Boolean? = null

readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

Link copied to clipboard

secretRef is optional: points to a secret object containing parameters used to connect to OpenStack.

Link copied to clipboard

volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md