k8s操作手册 2.3外部存储 文件系统,即存储卷,存储卷是pod内所有容器都可挂载的共享目录。k8s支持 node结点本地存储以及网络存储 node本地存储:emptyDir hostPath 网络存储:NFS Ceph GlusterFS 等 k8s集群级别的存储资源:PV(PersistentVolume) ①node结点存储卷hostPath 在创建pod时直接指定volumes为hostPath(node结点上的本地目录) monitors: - ceph1.cof-lee.com:6789 - ceph2.cof-lee.com:6789 - ceph3.cof-lee.com:6789 pool: k8s image: image-test1 user: admin secretRef: name: ceph-secret fsType:0 码力 | 126 页 | 4.33 MB | 1 年前3
共 1 条
- 1













