Q: What is the difference between a PersistentVolume (PV) and a PersistentVolumeClaim (PVC)?
- PV (PersistentVolume) — the actual storage resource. Could be an AWS EBS volume, NFS share, local disk. Created by a cluster admin or d...
#Kubernetes #Storage #L1 #Container Orchestration #K8s
🎙️ Candidate Opening & Architectural Context
""Kubernetes is a declarative desired state system; understanding the reconciliation loop is how you diagnose this quickly. When addressing this question, I walk the interviewer through our production incident runbook: isolating the blast radius, checking diagnostic logs and metrics, and applying a safe fix.""
Advertisement
🛠️ Production Runbook & Step-by-Step Resolution
1️⃣
Initial Diagnostics & Root Cause Analysis
Think of PV as the actual parking spot and PVC as the parking ticket that reserves it.
- PV (PersistentVolume) — the actual storage resource. Could be an AWS EBS volume, NFS share, local disk. Created by a cluster admin or dynamically provisioned.
- PVC (PersistentVolumeClaim) — a request for storage by a pod. The pod says "I need 10GB of ReadWriteOnce storage" — the PVC finds a matching PV and binds to it.
2️⃣
Remediation & Permanent Safeguards
💡 The Senior SRE Gold Nugget (Key Architectural Takeaway)
"Pro-Tip: PV (PersistentVolume) — the actual storage resource. Could be an AWS EBS volume, NFS share, local disk. Created by a cluster admin."
⚡ 60-Second Elevator Pitch Talking Points
- PV (PersistentVolume) — the actual storage resource. Could be an AWS EBS volume, NFS share, local...
- PVC (PersistentVolumeClaim) — a request for storage by a pod. The pod says "I need 10GB of ReadWr...
Advertisement