Difference between revisions of "Kubernetes Persistent Volume Claim (PVC)"

From wikieduonline
Jump to navigation Jump to search
Line 27: Line 27:
 
* [[K8up]]
 
* [[K8up]]
 
* <code>[[kind: Provisioner]]</code>
 
* <code>[[kind: Provisioner]]</code>
 +
* <code>[[volumes:]]</code>
  
 
== Activities ==
 
== Activities ==

Revision as of 09:12, 2 November 2022

kind: PersistentVolumeClaim
kind: PersistentVolume
kind: StorageClass
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.

PVC types

Examples

Volume expansion

kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: myclaim
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi # specify new size here

Related terms

Activities

See also

Advertising: