手动创建PV的方式,即Static的PV管理方式,在删除PV时需要按如下流程执行操作:

删除使用这个 PV 的 Pod;
从宿主机移除本地磁盘(比如,umount 它);
删除 PVC;
删除 PV。

由于创建PV和删除PV的操作比较繁琐,Kubernetes其实提供了一个Static Provisioner来帮助你管理这些PV。
https://github.com/kubernetes-retired/external-storage/tree/master/local-volume/helm

相关文章:

  • 2021-09-01
  • 2021-04-30
  • 2022-12-23
  • 2021-11-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
猜你喜欢
  • 2021-06-02
  • 2022-01-29
  • 2021-11-27
  • 2022-01-01
  • 2021-10-01
  • 2021-07-29
相关资源
相似解决方案