Volumes (Kubernetes)
Jump to navigation
Jump to search
↑ https://kubernetes.io/docs/concepts/storage/volumes/
↑ https://kubernetes.io/docs/concepts/storage/volumes/#types-of-volumes
↑ https://kubernetes.io/docs/concepts/storage/#fc
↑ https://kubernetes.io/docs/concepts/storage/volumes/#flexVolume
↑ https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims
Kubernetes Volumes allows to store data independent of Container restarts. Volumes in Kubernetes are different that Docker Volumes.[1]
Kubernetes supports different type of volumes [2]:
- Cloud providers:
awsElasticBlockStore, azureDisk, azureFile
- Storage technologies: fc (fibre channel)[3], iscsi
- Networked filesystems: cephfs, nfs, glusterfs
- Others:
- Cinder, configMap, CSI, downwardAPI
- emptyDir: the data in the emptyDir is deleted forever when Pod is removed from a node.
- FlexVolume (deprecated)[4], can be expanded [5]
- flocker, gcePersistentDisk, hostPath, local, persistentVolumeClaim, projected, portworxVolume, quobyte, rbd, scaleIO, secret, storageos, vsphereVolume
- Support for raw block storage in CSI (v1.18, March 2020)
- Deprecated: gitRepo
Persistent volumes subsystem provides an API for users and administrators that abstracts details of how storage is provided from how it is consumed.
Related terms[edit]
- CKA v1.23: Understand volume mode, access modes and reclaim policies for volumes
- CKA v1.18: Understand persistent volumes and know how to create them
- CKA v1.18: Understand access modes for volumes
- CKA v1.15: Understand PersistentVolumeClaims for storage
kind: PersistentVolume
- Persistent Volumes (Kubernetes)
kubectl describe pvc mysql-pv-claim
Activities[edit]
See also[edit]
- Persistent Volumes
- CKA: v1.15, v1.18, v1.20, v1.21, v1.22, v1.23: API, Namespace, Pods, secrets, Services, deployments, nodes, Volumes, Ingress
- Kubernetes: CKA, CKS, Kubernetes interfaces: CSI, CNI, installation, workloads, networking,
kubeadm
,Kubernetes API
, Kubernetes API Server,kubectl, kubeadm, kubelet, kube-proxy
, Cloud services: EKS, GKE, TKE, DKS, Helm, Kubernetes RBAC, Kubernetes deployments, Minikube, Rancher, OpenShift, Charmed Kubernetes, Ingress, Kubernetes scheduler, Kubernetes logging, Kubernetes operator, Orka,kind:
, Kubernetes namespaces, Kubernetes dashboard, Kubernetes Metrics Server, Field Selectors, CoreDNS, CRI, Kubernetes Topology Manager, SIG, Tekton, Knative, Kustomize, controllers,ReadinessProbe, LivenessProbe
, KOPS, K9s, Kui, k3s, ImagePullBackOff, PDB, EndPoints, Kots, metadata, Karpenter,restartPolicy
, Replicated.com, Kubernetes Authenticating, Kubernetes timeline, Changelog/Versions, service accounts, Kubernetes Pod Lifecycle