Class RBDPersistentVolumeSourcePatch


  • public final class RBDPersistentVolumeSourcePatch
    extends java.lang.Object
    • Method Detail

      • fsType

        public java.util.Optional<java.lang.String> fsType()
        Returns:
        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
      • image

        public java.util.Optional<java.lang.String> image()
        Returns:
        image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
      • keyring

        public java.util.Optional<java.lang.String> keyring()
        Returns:
        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

        public java.util.List<java.lang.String> monitors()
        Returns:
        monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
      • pool

        public java.util.Optional<java.lang.String> pool()
        Returns:
        pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
      • readOnly

        public java.util.Optional<java.lang.Boolean> readOnly()
        Returns:
        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
      • secretRef

        public java.util.Optional<SecretReferencePatch> secretRef()
        Returns:
        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
      • user

        public java.util.Optional<java.lang.String> user()
        Returns:
        user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it