PVC
PV (PersistentVolume) 和 PVC (PersistentVolumeClaim) 是 Kubernetes 中持久化存储的核心机制,解决了 hostPath 的节点绑定问题 。
PV :代表 K8s 中的存储资源(允许用户将外部存储资源映射到集群),由管理员(存储部门提供)
PVC:是用户对 PV 的申请单,赋予 Pod 访问 PV 的权限
实验要求:
mariadb namespace 中的 MariaDB Deployment 被误删除。请恢复该 Deployment 并确保数据持久性。请按照以下步骤:
如下规格在 mariadb namespace 中创
more...