RBDPersistentVolumeSourceArgs

data class RBDPersistentVolumeSourceArgs(val fsType: Output<String>? = null, val image: Output<String>, val keyring: Output<String>? = null, val monitors: Output<List<String>>, val pool: Output<String>? = null, val readOnly: Output<Boolean>? = null, val secretRef: Output<SecretReferenceArgs>? = null, val user: Output<String>? = null) : ConvertibleToJava<RBDPersistentVolumeSourceArgs>

Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.

Constructors

Link copied to clipboard
constructor(fsType: Output<String>? = null, image: Output<String>, keyring: Output<String>? = null, monitors: Output<List<String>>, pool: Output<String>? = null, readOnly: Output<Boolean>? = null, secretRef: Output<SecretReferenceArgs>? = null, user: Output<String>? = null)

Properties

Link copied to clipboard
val fsType: Output<String>? = null

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

Link copied to clipboard
val image: Output<String>

image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

Link copied to clipboard
val keyring: Output<String>? = null

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

Link copied to clipboard
val monitors: Output<List<String>>

monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

Link copied to clipboard
val pool: Output<String>? = null

pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

Link copied to clipboard
val readOnly: Output<Boolean>? = null

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

Link copied to clipboard
val secretRef: Output<SecretReferenceArgs>? = null

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

Link copied to clipboard
val user: Output<String>? = null

user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

Functions

Link copied to clipboard
open override fun toJava(): RBDPersistentVolumeSourceArgs