Class V1RBDPersistentVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1RBDPersistentVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1RBDPersistentVolumeSource
extends Object
Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support
ownership management and SELinux relabeling.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddMonitorsItem
(String monitorsItem) boolean
fsType is the filesystem type of the volume that you want to mount.getImage()
image is the rados image name.keyring is the path to key ring for RBDUser.monitors is a collection of Ceph monitors.getPool()
pool is the rados pool name.readOnly here will force the ReadOnly setting in VolumeMounts.Get secretRefgetUser()
user is the rados user name.int
hashCode()
secretRef
(V1SecretReference secretRef) void
void
void
setKeyring
(String keyring) void
setMonitors
(List<String> monitors) void
void
setReadOnly
(Boolean readOnly) void
setSecretRef
(V1SecretReference secretRef) void
toString()
-
Field Details
-
SERIALIZED_NAME_FS_TYPE
- See Also:
-
SERIALIZED_NAME_IMAGE
- See Also:
-
SERIALIZED_NAME_KEYRING
- See Also:
-
SERIALIZED_NAME_MONITORS
- See Also:
-
SERIALIZED_NAME_POOL
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
SERIALIZED_NAME_SECRET_REF
- See Also:
-
SERIALIZED_NAME_USER
- See Also:
-
-
Constructor Details
-
V1RBDPersistentVolumeSource
public V1RBDPersistentVolumeSource()
-
-
Method Details
-
fsType
-
getFsType
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- Returns:
- fsType
-
setFsType
-
image
-
getImage
image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it- Returns:
- image
-
setImage
-
keyring
-
getKeyring
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- Returns:
- keyring
-
setKeyring
-
monitors
-
addMonitorsItem
-
getMonitors
monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it- Returns:
- monitors
-
setMonitors
-
pool
-
getPool
pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it- Returns:
- pool
-
setPool
-
readOnly
-
getReadOnly
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- Returns:
- readOnly
-
setReadOnly
-
secretRef
-
getSecretRef
Get secretRef- Returns:
- secretRef
-
setSecretRef
-
user
-
getUser
user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it- Returns:
- user
-
setUser
-
equals
-
hashCode
public int hashCode() -
toString
-