Class RBDPersistentVolumeSource

    • Constructor Detail

      • RBDPersistentVolumeSource

        public RBDPersistentVolumeSource()
        No args constructor for use in serialization
    • Method Detail

      • getFsType

        public String 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
      • setFsType

        public void setFsType​(String fsType)
        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
      • getImage

        public String getImage()
        image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
      • setImage

        public void setImage​(String image)
        image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
      • getKeyring

        public String 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
      • setKeyring

        public void setKeyring​(String 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
      • getMonitors

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

        public void setMonitors​(List<String> monitors)
        monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
      • getPool

        public String getPool()
        pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
      • setPool

        public void setPool​(String pool)
        pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
      • getReadOnly

        public Boolean 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
      • setReadOnly

        public void setReadOnly​(Boolean 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
      • getSecretRef

        public SecretReference getSecretRef()
        Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.
      • setSecretRef

        public void setSecretRef​(SecretReference secretRef)
        Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.
      • getUser

        public String getUser()
        user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
      • setUser

        public void setUser​(String user)
        user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)