package kubecaml

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

Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and Se_linux relabeling.

type t
val to_yojson : t -> Yojson.Safe.t
val make : volume_id:string -> ?read_only:bool -> ?fs_type:string -> unit -> t
val fs_type : t -> string option

Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

val read_only : t -> bool option

Optional: Defaults to false (read/write). Read_only here will force the Read_only setting in Volume_mounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

val volume_id : t -> string

volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

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