Difference between revisions of "CKA v1.15: Understand PersistentVolumeClaims (PVC) for storage"
Jump to navigation
Jump to search
Line 34: | Line 34: | ||
== See also == | == See also == | ||
− | * {{ | + | * {{PVC}} |
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Revision as of 16:53, 31 May 2022
This article is a Draft. Help us to complete it.
Example
apiVersion: v1 kind: PersistentVolume metadata: name: dockerfile labels: type: local spec: capacity: storage: 10Gi accessModes: - ReadWriteOnce storageClassName: local-storage hostPath: path: /home/docker/kaniko # replace this with the output of pwd command from before, if it is different
Related commands
kubectl describe pvc mysql-pv-claim
kubectl create pvc
Related terms
- Volumes (Kubernetes)
- CKA v1.18: Understand persistent volumes and know how to create them
- CKA v1.15: Understand PersistentVolumeClaims for storage
kind: PersistentVolume
kind: PersistentVolumeClaim
helm install --set persistence.enabled=true grafana stable/grafana
- Kubernetes storage
See also
Advertising: