Kubernetes
Medium
Storage
What is the purpose of a PersistentVolume in Kubernetes?
Select your answer:
Show answer and explanation
Answer: To provide persistent storage that exists beyond the lifecycle of a pod
Explanation
PersistentVolumes (PVs) provide a way to store data that persists beyond the lifecycle of a pod. They are a cluster-wide resource that exists independently of pods and are provisioned by cluster administrators or dynamically using Storage Classes.
More medium Kubernetes questions
- What is the difference between a ClusterIP and a NodePort service?
- What is a Kubernetes Ingress?
- A pod is in 'CrashLoopBackOff' state. What does this indicate?
- Which component is responsible for executing containers on nodes?
- What is the purpose of a Kubernetes ReplicaSet?
- Which network plugin is commonly used in Kubernetes to implement the Container Network Interface (CNI)?