RBDVolumeSource class
Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.
Constructors
-
RBDVolumeSource({Input<
String> ? fsType, required Input<String> image, Input<String> ? keyring, required Input<List< monitors, Input<String> >String> ? pool, Input<bool> ? readOnly, Input<LocalObjectReference> ? secretRef, Input<String> ? user}) -
Creates a new RBDVolumeSource.
fsTypefsType is the 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#rbdimageimage is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-itkeyringkeyring 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-itmonitorsmonitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-itpoolpool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-itreadOnlyreadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-itsecretRefsecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-ituseruser is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-itconst -
RBDVolumeSource.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
fsType
→ Input<
String> ? -
fsType is the 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
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
image
→ Input<
String> -
image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
final
-
keyring
→ Input<
String> ? -
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
final
-
monitors
→ Input<
List< String> > -
monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
final
-
pool
→ Input<
String> ? -
pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
final
-
readOnly
→ Input<
bool> ? -
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
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secretRef
→ Input<
LocalObjectReference> ? -
secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
final
-
user
→ Input<
String> ? -
user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited