package kubecaml

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

Volume represents a named volume in a pod that may be accessed by any container in the pod.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?vsphere_volume: Kubernetes.Definitions.Api.Core.V1.Vsphere_virtual_disk_volume_source.t -> ?storageos:Kubernetes.Definitions.Api.Core.V1.Storage_os_volume_source.t -> ?secret:Kubernetes.Definitions.Api.Core.V1.Secret_volume_source.t -> ?scale_io:Kubernetes.Definitions.Api.Core.V1.Scale_io_volume_source.t -> ?rbd:Kubernetes.Definitions.Api.Core.V1.Rbd_volume_source.t -> ?quobyte:Kubernetes.Definitions.Api.Core.V1.Quobyte_volume_source.t -> ?projected:Kubernetes.Definitions.Api.Core.V1.Projected_volume_source.t -> ?portworx_volume:Kubernetes.Definitions.Api.Core.V1.Portworx_volume_source.t -> ?photon_persistent_disk: Kubernetes.Definitions.Api.Core.V1.Photon_persistent_disk_volume_source.t -> ?persistent_volume_claim: Kubernetes.Definitions.Api.Core.V1.Persistent_volume_claim_volume_source.t -> ?nfs:Kubernetes.Definitions.Api.Core.V1.Nfs_volume_source.t -> name:string -> ?iscsi:Kubernetes.Definitions.Api.Core.V1.Iscsi_volume_source.t -> ?host_path:Kubernetes.Definitions.Api.Core.V1.Host_path_volume_source.t -> ?glusterfs:Kubernetes.Definitions.Api.Core.V1.Glusterfs_volume_source.t -> ?git_repo:Kubernetes.Definitions.Api.Core.V1.Git_repo_volume_source.t -> ?gce_persistent_disk: Kubernetes.Definitions.Api.Core.V1.Gce_persistent_disk_volume_source.t -> ?flocker:Kubernetes.Definitions.Api.Core.V1.Flocker_volume_source.t -> ?flex_volume:Kubernetes.Definitions.Api.Core.V1.Flex_volume_source.t -> ?fc:Kubernetes.Definitions.Api.Core.V1.Fc_volume_source.t -> ?empty_dir:Kubernetes.Definitions.Api.Core.V1.Empty_dir_volume_source.t -> ?downward_api:Kubernetes.Definitions.Api.Core.V1.Downward_api_volume_source.t -> ?config_map:Kubernetes.Definitions.Api.Core.V1.Config_map_volume_source.t -> ?cinder:Kubernetes.Definitions.Api.Core.V1.Cinder_volume_source.t -> ?cephfs:Kubernetes.Definitions.Api.Core.V1.Ceph_fs_volume_source.t -> ?azure_file:Kubernetes.Definitions.Api.Core.V1.Azure_file_volume_source.t -> ?azure_disk:Kubernetes.Definitions.Api.Core.V1.Azure_disk_volume_source.t -> ?aws_elastic_block_store: Kubernetes.Definitions.Api.Core.V1.Aws_elastic_block_store_volume_source.t -> unit -> t

Aws_elastic_block_store represents an Aws Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

Azure_disk represents an Azure Data Disk mount on the host and bind mount to the pod.

Azure_file represents an Azure File Service mount on the host and bind mount to the pod.

Ceph_fs represents a Ceph Fs mount on the host that shares a pod's lifetime

Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

Config_map represents a config_map that should populate this volume

Downward_api represents downward Api about the pod that should populate this volume

Empty_dir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir

Fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.

Flex_volume represents a generic volume resource that is provisioned/attached using an exec based plugin.

Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running

Gce_persistent_disk represents a Gce Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk

Git_repo represents a git repository at a particular revision.

Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md

Host_path represents a pre_existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will Not need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath

Iscsi represents an Iscsi Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md

val name : t -> string

Volume's name. Must be a Dns_label and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

Nfs represents an Nfs mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

Persistent_volume_claim_volume_source represents a reference to a Persistent_volume_claim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

Photon_persistent_disk represents a Photon_controller persistent disk attached and mounted on kubelets host machine

Portworx_volume represents a portworx volume attached and mounted on kubelets host machine

Items for all in one resources secrets, configmaps, and downward Api

Quobyte represents a Quobyte mount on the host that shares a pod's lifetime

Rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md

Scale_io represents a Scale_io persistent volume attached and mounted on Kubernetes nodes.

Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret

Storage_os represents a Storage_os volume attached and mounted on Kubernetes nodes.

Vsphere_volume represents a v_sphere volume attached and mounted on kubelets host machine

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

Innovation. Community. Security.