package kubecaml

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

Represents a Persistent Disk resource in Aws.

an Aws Ebs disk must exist before mounting to a container. The disk must also be in the same Aws zone as the kubelet. An Aws Ebs disk can only be mounted as read/write once. Aws Ebs 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 -> ?partition:int -> ?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#awselasticblockstore

val partition : t -> int option

The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).

val read_only : t -> bool option

Specify "true" to force and set the Read_only property in Volume_mounts to "true". If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

val volume_id : t -> string

Unique Id of the persistent disk resource in Aws (amazon Ebs volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

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