case class RBDVolumeSource(fsType: Optional[String] = Optional.Absent, image: String, keyring: Optional[String] = Optional.Absent, monitors: Vector[String], pool: Optional[String] = Optional.Absent, readOnly: Optional[Boolean] = Optional.Absent, secretRef: Optional[LocalObjectReference] = Optional.Absent, user: Optional[String] = Optional.Absent) extends Product with Serializable
Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.
- 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
- image
The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- 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
- monitors
A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- pool
The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- 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
- user
The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- Alphabetic
- By Inheritance
- RBDVolumeSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
RBDVolumeSource(fsType: Optional[String] = Optional.Absent, image: String, keyring: Optional[String] = Optional.Absent, monitors: Vector[String], pool: Optional[String] = Optional.Absent, readOnly: Optional[Boolean] = Optional.Absent, secretRef: Optional[LocalObjectReference] = Optional.Absent, user: Optional[String] = Optional.Absent)
- 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
- image
The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- 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
- monitors
A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- pool
The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
- 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
- user
The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fsType: Optional[String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getFsType: IO[K8sFailure, String]
Filesystem type of the volume that you want to mount.
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
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getImage: IO[K8sFailure, String]
The rados image name.
The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
This effect always succeeds, it is safe to use the field image directly.
-
def
getKeyring: IO[K8sFailure, String]
Keyring is the path to key ring for RBDUser.
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
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getMonitors: IO[K8sFailure, Vector[String]]
A collection of Ceph monitors.
A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
This effect always succeeds, it is safe to use the field monitors directly.
-
def
getPool: IO[K8sFailure, String]
The rados pool name.
The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getReadOnly: IO[K8sFailure, Boolean]
ReadOnly here will force the ReadOnly setting in VolumeMounts.
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
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSecretRef: IO[K8sFailure, LocalObjectReference]
Gets secretRef.
Gets secretRef.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getUser: IO[K8sFailure, String]
The rados user name.
The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val image: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keyring: Optional[String]
- val monitors: Vector[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val pool: Optional[String]
- val readOnly: Optional[Boolean]
- val secretRef: Optional[LocalObjectReference]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val user: Optional[String]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated