Editing Kubernetes Persistent Volume Claim (PVC)
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
− | |||
* <code>[[kubectl get pvc]]</code> | * <code>[[kubectl get pvc]]</code> | ||
* <code>[[kubectl get pvc -o yaml]]</code> | * <code>[[kubectl get pvc -o yaml]]</code> | ||
Line 12: | Line 10: | ||
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. | ||
− | |||
− | |||
== PVC types == | == PVC types == | ||
Line 24: | Line 20: | ||
[[kubectl apply -f your_new_pvc.yml]] | [[kubectl apply -f your_new_pvc.yml]] | ||
persistentvolumeclaim/myclaim created | persistentvolumeclaim/myclaim created | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related terms == | == Related terms == | ||
− | * | + | * <code>[[kind]]: [[PersistentVolume]]</code> |
* <code>[[kind: StorageClass]]</code> | * <code>[[kind: StorageClass]]</code> | ||
* <code>[[kubectl describe deployment]] | grep [[PersistentVolumeClaim]]</code> | * <code>[[kubectl describe deployment]] | grep [[PersistentVolumeClaim]]</code> | ||
Line 41: | Line 28: | ||
* <code>[[awsElasticBlockStore]]</code> | * <code>[[awsElasticBlockStore]]</code> | ||
* <code>[[kubectl get volumesnapshot]]</code> | * <code>[[kubectl get volumesnapshot]]</code> | ||
− | * [[K8up | + | * [[Pod has unbound immediate PersistentVolumeClaims]] |
+ | * [[K8up]] | ||
* <code>[[kind: Provisioner]]</code> | * <code>[[kind: Provisioner]]</code> | ||
* <code>[[volumes:]]</code> | * <code>[[volumes:]]</code> | ||
* [[Kubernetes HostPath volume provider]] | * [[Kubernetes HostPath volume provider]] | ||
− | * [[ | + | * [[DoKC]] community |
* [[DiskPressure]] | * [[DiskPressure]] | ||
− | |||
− | |||
== Activities == | == Activities == | ||
* [[CKA v1.23]]: [[Understand persistent volume claims primitive]] | * [[CKA v1.23]]: [[Understand persistent volume claims primitive]] | ||
+ | * [[CKA v1.18]]: [[Understand persistent volumes and know how to create them]] | ||
+ | * [[CKA v1.15]]: [[Understand PersistentVolumeClaims (PVC) for storage]] | ||
* [[Create a PersistentVolumeClaim]] | * [[Create a PersistentVolumeClaim]] | ||
− | |||
− | |||
* Read https://cloud.google.com/kubernetes-engine/docs/concepts/persistent-volumes | * Read https://cloud.google.com/kubernetes-engine/docs/concepts/persistent-volumes | ||
Line 60: | Line 46: | ||
* {{PVC}} | * {{PVC}} | ||
* {{Kubernetes storage}} | * {{Kubernetes storage}} | ||
− | |||
[[Category:K8s]] | [[Category:K8s]] |
Advertising: