What is the difference between persistent volume (PV) and persistent volume claim (PVC) in simple terms?

后端 未结 10 1689
我在风中等你
我在风中等你 2021-01-30 19:22

What is the difference between persistent volume (PV) and persistent volume claim (PVC) in Kubernetes/ Openshift by referring to documentation?

What is the difference be

10条回答
  •  别那么骄傲
    2021-01-30 20:20

    1. A PersistentVolume (PV) is a piece of storage in the cluster or central storage that has been provisioned by an administrator or dynamically provisioned using Storage Classes.

    2. A PersistentVolumeClaim (PVC) is a request for storage by a user. It is similar to a Pod. Pods consume node resources and PVCs consume PV resources.

    In real life example, Suppose your parents have a lot of money(PV) but they only provide you once you request them according to your needs(PVC).

提交回复
热议问题