package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?user:string -> ?secret_ref:Kubernetes.Definitions.Api.Core.V1.Secret_reference.t -> ?read_only:bool -> ?pool:string -> monitors:string list -> ?keyring:string -> image:string -> ?fs_type:string -> unit -> t
val fs_type : t -> string option

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

val image : t -> string

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

val keyring : t -> string option

Keyring is the path to key ring for Rbd_user. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

val monitors : t -> string list

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

val pool : t -> string option

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

val read_only : t -> bool option

Read_only here will force the Read_only setting in Volume_mounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

Secret_ref is name of the authentication secret for Rbd_user. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it

val user : t -> string option

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

module Object : Object.S with type value := t
OCaml

Innovation. Community. Security.