Difference between revisions of "Kubernetes storage"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
* [[Kubernetes snapshot|snapshots]] | * [[Kubernetes snapshot|snapshots]] | ||
+ | * [[Cross namespace data sources (alpha)]] | ||
== Commands == | == Commands == |
Revision as of 06:28, 12 February 2024
https://kubernetes.io/docs/concepts/storage/
- Kubernetes Persistent Volumes (PV), Kubernetes Persistent volumes
- Kubernetes Persistent Volume Claim (PVC)
- Kubernetes Volume Expansion
- Projected volumes
Contents
Commands
kubectl describe storageclass kubectl describe pvc
kubectl get pvc kubectl get storageclass
kind: PersistentVolume kind: PersistentVolumeClaim kind: StorageClass
Errors
error: persistentvolumeclaims "your-elasticsearch-master-0" could not be patched: persistentvolumeclaims "your-elasticsearch-master-0" is forbidden: only dynamically provisioned pvc can be resized and the storageclass that provisions the pvc must support resize.
FailedMount FailedScheduling
didn't find available persistent volumes to bind
Types
gcePersistentDisk
- Cinder (OpenStack)
glusterfs
- rbd - Ceph RBD
- Azure File
- Azure Disk
- Portworx
- FlexVolumes
- Container Storage Interface (CSI)
Activities
- Kubernetes PVC resize: kubectl patch
- Create a new volume using: kind: PersistentVolumeClaim
- Kubernetes: Rename PVs
- Access a volume with a temporary pod
Related
- EKS storage
- CKA Kubernetes storage
- PersistentVolume deletion protection finalizer
kubernetes.io/gce-pd
kubernetes.io/aws-ebs
ExtraVolumes
parameters
storage-provisioner
See also
- Kubernetes Persistent Volume Claim (PVC) (
kind: PersistentVolumeClaim
), Kubernetes Persistent volumes (PV)(kind: PersistentVolume)
,kubectl describe pvc, kubectl get pvc
, ClaimLost, ProvisioningSucceeded, PV access control - EKS storage, Amazon EBS CSI driver, Amazon EFS CSI driver,
kubectl describe storageclass
- Kubernetes storage, storage classes, PersistentVolume (PV), PVC, CSI,
kind: StorageClass, kind: PersistentVolumeClaim, kind: PersistentVolume
,kubectl [ get | describe | edit ] pvc
,volumeClaimTemplates:
,kubectl patch pv
,FailedMount
, Volume Expansion, Volume Cloning, snapshots, ExtraVolumes, NotTriggerScaleUp,volumePVCDataSource, AllowVolumeExpansion
, EKS storage, provisioner, Storage Capacity Tracking,VolumeBinding, VolumeClaimTemplate, storage.k8s.io
, CKA Storage, DoKC, EmptyDir, Volume populators,storageclass.kubernetes.io
Advertising: