k8s基础-hostpath和localvolume(需创建sc/pv/pvc)的区别示例_k8s local volume-CSDN博客

网站介绍:引用官话的一句话:Both use local disks available on a machine. But! Imagine you have a cluster of three machines and have a Deployment with a replica of 1. If your pod is scheduled on node A, writes to a host path, then the pod is destroyed. At this point the sch_k8s local volume