简体   繁体   English

OpenEBS中的数据存储在哪里?

[英]Where is data stored in OpenEBS?

Setup -- OPENEBS version 0.6 I would like to know where OpenEBS stores data in Jiva. 设置-OPENEBS 0.6版我想知道OpenEBS在Jiva中存储数据的位置。 Where does it exactly store the data? 它到底在哪里存储数据? Does it store locally on Kubernetes nodes mount path or on a disk attached to the pool. 它是本地存储在Kubernetes节点的安装路径上还是存储在池中的磁盘上。

It depends on the storage pool which is referred to in the storageclass. 它取决于storageclass中引用的存储池。 If the pool is "default" and the storage engine chosen is Jiva, then the storage space for volume replica data is carved out from the container image space of the replica pod itself ("/mnt/openebs_disk"). 如果池为“默认”,并且选择的存储引擎为Jiva,则将从副本容器本身的容器映像空间(“ / mnt / openebs_disk”)中划出用于卷副本数据的存储空间。


apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: openebs-standard annotations: cas.openebs.io/config: | apiVersion:storage.k8s.io/v1类型:StorageClass元数据:名称:openebs-standard注释:cas.openebs.io/config:| - name: ControllerImage value: openebs/jiva:0.7.0-RC2 - name: ReplicaImage value: openebs/jiva:0.7.0-RC2 - name: VolumeMonitorImage value: openebs/m-exporter:0.7.0-RC2 - name: ReplicaCount value: "1" - name: StoragePool value: default - name: FSType value: "xfs" -名称:ControllerImage值:openebs / jiva:0.7.0-RC2-名称:ReplicaImage值:openebs / jiva:0.7.0-RC2-名称:VolumeMonitorImage值:openebs / m-exporter:0.7.0-RC2-名称: ReplicaCount值:“ 1”-名称:StoragePool值:默认-名称:FSType值:“ xfs”

If the storage pool referred to in the storageclass is NOT "default", then it will be an external disk or group of disks that are mounted at a given path inside the replica pod 如果storageclass中引用的存储池不是“默认”,则它将是外部磁盘或一组磁盘,这些磁盘或磁盘组将安装在副本容器内部的给定路径中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM