core.v1.rbdPersistentVolumeSource
"Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling."
Index
fn withFsType(fsType)
fn withImage(image)
fn withKeyring(keyring)
fn withMonitors(monitors)
fn withMonitorsMixin(monitors)
fn withPool(pool)
fn withReadOnly(readOnly)
fn withUser(user)
obj secretRef
fn withName(name)
fn withNamespace(namespace)
Fields
fn withFsType
withFsType(fsType)
"Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd"
fn withImage
withImage(image)
"The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
fn withKeyring
withKeyring(keyring)
"Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
fn withMonitors
withMonitors(monitors)
"A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
fn withMonitorsMixin
withMonitorsMixin(monitors)
"A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
Note: This function appends passed data to existing values
fn withPool
withPool(pool)
"The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
fn withReadOnly
withReadOnly(readOnly)
"ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
fn withUser
withUser(user)
"The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
obj secretRef
"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"
fn secretRef.withName
withName(name)
"Name is unique within a namespace to reference a secret resource."
fn secretRef.withNamespace
withNamespace(namespace)
"Namespace defines the space within which the secret name must be unique."