Difference between revisions of "Kubernetes storage"

From wikieduonline
Jump to navigation Jump to search
 
(33 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Persistent volumes]]
+
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 8: Line 22:
  
 
  [[kind: PersistentVolume]]
 
  [[kind: PersistentVolume]]
 +
[[kind: PersistentVolumeClaim]]
 
  [[kind: StorageClass]]
 
  [[kind: StorageClass]]
  
* [[Container Storage Interface (CSI)]]
 
** [[Amazon EBS CSI driver]]
 
 
* [[Persistent Volumes]]
 
* [[Kubernetes Persistent Volume Claim (PVC)]]
 
  
 
== Errors ==
 
== 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.
 
  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 ==
 
== 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 ==
 
* [[EKS storage]]
 
* [[EKS storage]]
* [[CKA v1.23]] Understand [[storage classes]], [[persistent volumes]]
+
* [[CKA Kubernetes storage]]
* [[CKA v1.xx]]: [[Understand persistent volume claims primitive]]
+
* [[PersistentVolume deletion protection finalizer]]
* [[CKA v1.18]]: [[Understand persistent volumes and know how to create them]]
+
* <code>[[kubernetes.io/gce-pd]]</code>
* [[CKA v1.15]]: [[Understand PersistentVolumeClaims (PVC) for storage]]
+
* <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/

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]

News[edit]

Activities[edit]

Related[edit]

See also[edit]

Advertising: