concept persistentvolumeclaim in category kubernetes

appears as: PersistentVolumeClaims, PersistentVolumeClaim, persistentvolumeclaim, PersistentVolumeClaims
Kubernetes in Action

This is an excerpt from Manning's book Kubernetes in Action.

  • persistentVolumeClaim—A way to use a pre- or dynamically provisioned persistent storage. (We’ll talk about them in the last section of this chapter.)
  • Figure 6.6. PersistentVolumes are provisioned by cluster admins and consumed by pods through PersistentVolumeClaims.
    Listing 6.11. A PersistentVolumeClaim: mongodb-pvc.yaml
    apiVersion: v1
    kind: PersistentVolumeClaim
    metadata:
      name: mongodb-pvc              #1
    spec:
      resources:
        requests:                    #2
          storage: 1Gi               #2
      accessModes:                   #3
      - ReadWriteOnce                #3
      storageClassName: ""           #4
    sitemap

    Unable to load book!

    The book could not be loaded.

    (try again in a couple of minutes)

    manning.com homepage
    test yourself with a liveTest