Difference between revisions of "Kubernetes storage"
Jump to navigation
Jump to search
(→News) |
|||
(23 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | https://kubernetes.io/docs/concepts/storage/ | |
+ | * [[Container Storage Interface (CSI)]] | ||
+ | ** [[Amazon EBS CSI driver]] | ||
+ | ** [[Google Compute Engine Persistent Disk CSI Driver]] | ||
+ | ** [[CSI Volume Cloning]] | ||
+ | |||
+ | * [[Kubernetes Persistent Volumes (PV)]], [[Kubernetes Persistent volumes]] | ||
+ | * [[Kubernetes Persistent Volume Claim (PVC)]] | ||
+ | * [[Kubernetes Volume Expansion]] | ||
+ | * [[Projected volumes]] | ||
+ | |||
+ | * [[Kubernetes snapshot|snapshots]] | ||
+ | * [[Cross namespace data sources (alpha)]] | ||
+ | |||
+ | == Commands == | ||
[[kubectl describe storageclass]] | [[kubectl describe storageclass]] | ||
[[kubectl describe pvc]] | [[kubectl describe pvc]] | ||
Line 11: | Line 25: | ||
[[kind: StorageClass]] | [[kind: StorageClass]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Errors == | == Errors == | ||
Line 23: | Line 30: | ||
[[FailedMount]] | [[FailedMount]] | ||
+ | [[FailedScheduling]] | ||
+ | |||
+ | |||
+ | [[didn't find available persistent volumes to bind]] | ||
== Types == | == Types == | ||
{{PVC types}} | {{PVC types}} | ||
+ | |||
+ | == News == | ||
+ | * Dec 2023 ([[v1.29]]) [[Volume expansion using Secrets supported for CSI drivers]] | ||
+ | * [[v1.28]] [[Automatic, retroactive assignment of a default StorageClass]] graduate to stable | ||
+ | |||
+ | == Activities == | ||
+ | * [[Kubernetes PVC resize: kubectl patch]] | ||
+ | * [[Create a new volume using: kind: PersistentVolumeClaim]] | ||
+ | * [[Kubernetes: Rename PVs]] | ||
+ | * [[Access a volume with a temporary pod]] | ||
== Related == | == Related == | ||
Line 31: | Line 52: | ||
* [[CKA Kubernetes storage]] | * [[CKA Kubernetes storage]] | ||
* [[PersistentVolume deletion protection finalizer]] | * [[PersistentVolume deletion protection finalizer]] | ||
− | + | * <code>[[kubernetes.io/gce-pd]]</code> | |
− | + | * <code>[[kubernetes.io/aws-ebs]]</code> | |
+ | * <code>[[ExtraVolumes]]</code> | ||
+ | * <code>[[parameters]]</code> | ||
+ | * <code>[[storage-provisioner]]</code> | ||
== See also == | == See also == | ||
+ | * {{PVC}} | ||
* {{EKS storage}} | * {{EKS storage}} | ||
* {{Kubernetes storage}} | * {{Kubernetes storage}} | ||
[[Category:K8s]] | [[Category:K8s]] |
Latest revision as of 07:06, 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
Commands[edit]
kubectl describe storageclass kubectl describe pvc
kubectl get pvc kubectl get storageclass
kind: PersistentVolume kind: PersistentVolumeClaim kind: StorageClass
Errors[edit]
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[edit]
gcePersistentDisk
- Cinder (OpenStack)
glusterfs
- rbd - Ceph RBD
- Azure File
- Azure Disk
- Portworx
- FlexVolumes
- Container Storage Interface (CSI)
News[edit]
- Dec 2023 (v1.29) Volume expansion using Secrets supported for CSI drivers
- v1.28 Automatic, retroactive assignment of a default StorageClass graduate to stable
Activities[edit]
- Kubernetes PVC resize: kubectl patch
- Create a new volume using: kind: PersistentVolumeClaim
- Kubernetes: Rename PVs
- Access a volume with a temporary pod
Related[edit]
- EKS storage
- CKA Kubernetes storage
- PersistentVolume deletion protection finalizer
kubernetes.io/gce-pd
kubernetes.io/aws-ebs
ExtraVolumes
parameters
storage-provisioner
See also[edit]
- 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: