Difference between revisions of "CKA v1.15: Understand PersistentVolumeClaims (PVC) for storage"

From wikieduonline
Jump to navigation Jump to search
Line 32: Line 32:
 
* <code>[[kind]]: [[PersistentVolumeClaim]]</code>
 
* <code>[[kind]]: [[PersistentVolumeClaim]]</code>
 
* <code>[[helm install --set persistence.enabled=true grafana stable/grafana]]</code>
 
* <code>[[helm install --set persistence.enabled=true grafana stable/grafana]]</code>
 +
* [[Kubernetes storage]]
  
 
== See also ==
 
== See also ==

Revision as of 12:24, 18 May 2022

This article is a Draft. Help us to complete it.

CKA v1.21

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


Related terms

See also

Advertising: