Cloud API Overview > @adpt/cloud > k8s > Volume
k8s.Volume interface
Volumes for k8s.PodProps
Signature:
export interface Volume
Properties
Property | Type | Description |
---|---|---|
configMap | ConfigMapVolumeSource | Represents a configMap that should populate this volume |
emptyDir | EmptyDirVolumeSource | EmptyDir represents a temporary directory that shares a pod's lifetime.More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir |
name | 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 |
secret | SecretVolumeSource | Represents a secret that should populate this volume.More info: https://kubernetes.io/docs/concepts/storage/volumes#secret |