Module 2 › Storage › Flashcards
Flashcards · optional
Flashcards: Storage
0/16 known
8. StorageVolume
Click or press Space to flip VolumeA directory mounted into one or more containers of a Pod, whose lifetime is independent of the container.
Card 1 of 16
- Volume
- A directory mounted into one or more containers of a Pod, whose lifetime is independent of the container.
- emptyDir
- Ephemeral volume created empty when a Pod starts on a node and deleted with the Pod; can be RAM-backed with medium: Memory.
- hostPath
- Volume that mounts a file or directory from the host node’s filesystem; powerful and risky.
- projected volume
- Volume that merges several sources (secret, configMap, downwardAPI, serviceAccountToken) into one directory.
- downwardAPI
- Mechanism exposing a Pod’s own metadata and resource fields to its containers as env vars or files.
- PersistentVolume (PV)
- Cluster-scoped object representing a piece of provisioned storage with capacity, access modes and reclaim policy.
- PersistentVolumeClaim (PVC)
- Namespaced request for storage by a user; binds one-to-one to a suitable PV.
- StorageClass
- Cluster-scoped template naming a provisioner and parameters, used to create PVs dynamically.
- Dynamic provisioning
- Automatic creation of a PV (and backing storage) when a PVC requests a StorageClass.
- Access mode
- How a volume can be mounted: ReadWriteOnce, ReadOnlyMany, ReadWriteMany, ReadWriteOncePod.
- Reclaim policy
- What happens to a PV when its claim is deleted: Retain, Delete (Recycle is deprecated).
- WaitForFirstConsumer
- volumeBindingMode that delays binding and provisioning until a Pod using the PVC is scheduled.
- CSI
- Container Storage Interface: standard API that lets storage vendors ship out-of-tree drivers for Kubernetes.
- volumeClaimTemplates
- StatefulSet field that creates a dedicated PVC for each replica (e.g. data-db-0).
- VolumeSnapshot
- Namespaced request for a point-in-time copy of a PVC, fulfilled by a CSI driver via a VolumeSnapshotClass.
- Rook
- CNCF graduated project that runs and manages Ceph storage on Kubernetes using an operator.