A city permitting microservice on OKE must keep uploaded PDF attachments across Pod restarts. Which Kubernetes object should the developer declare so the Pod receives durable storage provisioned by the cluster?
Select an answer to reveal the explanation.
Short Explanation
Think of a PVC like a reserved parking stall for your Pod’s disk: the claim asks the cluster for durable space, and OKE typically satisfies it with an OCI block volume. Most microservices should stay stateless; reach for a PVC only when files truly must survive restarts.
Full Explanation
A PersistentVolumeClaim is the developer-facing object that requests durable storage for a Pod. On OKE, a matching StorageClass usually provisions an OCI Block Volume behind that claim. emptyDir is ephemeral and lost when the Pod is removed, while ConfigMaps and Secrets are for configuration and credentials—not application file stores. Prefer keeping services stateless and use PVCs only for the exceptional cases that need durable local files.