- Home
- All questions
- Question 820
CKA study material · question 820 of 1000
What is the documented alternative to a hostPath volume where node-local storage is genuinely needed?
Show the answer
Answer: C. A local PersistentVolume
A hostPath can expose the kubelet's credentials or the container runtime socket; a local PersistentVolume gives node-local storage with node affinity and without that escape hatch.
Source: Volumes (Kubernetes) — Types of volumes › hostPath