Building-permits considers hostPath for a privileged node agent. What caveat should guide that decision?
Select an answer to reveal the explanation.
Short Explanation
hostPath is taping your app to one server’s hallway closet—fine for a node agent that must see that node, terrible as “the database disk” for a portable cluster. It doesn’t magically RWX-replicate or replace StorageClasses for real durable storage.
Full Explanation
A hostPath volume mounts a file or directory from the host node’s filesystem into a Pod. That couples scheduling to a specific node’s paths, raises security concerns, and does not provide portable replicated storage. It is sometimes used for node agents with caution, not as general durable storage instead of PV/PVC and CSI.