{
  "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.",
  "properties": {
    "awsElasticBlockStore": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource",
      "description": "awsElasticBlockStore 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"
    },
    "azureDisk": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.AzureDiskVolumeSource",
      "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."
    },
    "azureFile": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.AzureFileVolumeSource",
      "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod."
    },
    "cephfs": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.CephFSVolumeSource",
      "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime"
    },
    "cinder": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.CinderVolumeSource",
      "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"
    },
    "configMap": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.ConfigMapVolumeSource",
      "description": "configMap represents a configMap that should populate this volume"
    },
    "csi": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.CSIVolumeSource",
      "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature)."
    },
    "downwardAPI": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.DownwardAPIVolumeSource",
      "description": "downwardAPI represents downward API about the pod that should populate this volume"
    },
    "emptyDir": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.EmptyDirVolumeSource",
      "description": "emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"
    },
    "ephemeral": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.EphemeralVolumeSource",
      "description": "ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed.\n\nUse this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity\n   tracking are needed,\nc) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through\n   a PersistentVolumeClaim (see EphemeralVolumeSource for more\n   information on the connection between this volume type\n   and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information.\n\nA pod can use both types of ephemeral volumes and persistent volumes at the same time."
    },
    "fc": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.FCVolumeSource",
      "description": "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."
    },
    "flexVolume": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.FlexVolumeSource",
      "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."
    },
    "flocker": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.FlockerVolumeSource",
      "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running"
    },
    "gcePersistentDisk": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource",
      "description": "gcePersistentDisk 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"
    },
    "gitRepo": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.GitRepoVolumeSource",
      "description": "gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."
    },
    "glusterfs": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.GlusterfsVolumeSource",
      "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md"
    },
    "hostPath": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.HostPathVolumeSource",
      "description": "hostPath 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": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.ISCSIVolumeSource",
      "description": "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md"
    },
    "name": {
      "description": "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
      "type": [
        "string",
        "null"
      ]
    },
    "nfs": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.NFSVolumeSource",
      "description": "nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"
    },
    "persistentVolumeClaim": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource",
      "description": "persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"
    },
    "photonPersistentDisk": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource",
      "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"
    },
    "portworxVolume": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.PortworxVolumeSource",
      "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine"
    },
    "projected": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.ProjectedVolumeSource",
      "description": "projected items for all in one resources secrets, configmaps, and downward API"
    },
    "quobyte": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.QuobyteVolumeSource",
      "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime"
    },
    "rbd": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.RBDVolumeSource",
      "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"
    },
    "scaleIO": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.ScaleIOVolumeSource",
      "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."
    },
    "secret": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.SecretVolumeSource",
      "description": "secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"
    },
    "storageos": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.StorageOSVolumeSource",
      "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes."
    },
    "vsphereVolume": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource",
      "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"
    }
  },
  "required": [
    "name"
  ],
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "$id": "https://kubernetes.io/api/volume/v1"
}