docs: update Example Configurations Docs
Some link fixing in Example Configurations
Ref: https://rook.io/docs/rook/v1.9/Storage-Configuration/Block-Storage-RBD/rbd-mirroring/
https://rook.io/docs/rook/v1.9/Getting-Started/example-configurations/#block-devices
Signed-off-by: chienfuchen32 <chienfuchen32@gmail.com>
(cherry picked from commit 5ddca98460)
This commit is contained in:
1 parent
2c02965110
commit
b55e54af7b
2 files changed
+4
-4
No files matched your search
@@ -53,9 +53,9 @@ Now we are ready to setup [block](https://ceph.com/ceph-storage/block-storage/),
|
||||
|
||||
Ceph can provide raw block device volumes to pods. Each example below sets up a storage class which can then be used to provision a block device in kubernetes pods. The storage class is defined with [a pool](http://docs.ceph.com/docs/master/rados/operations/pools/) which defines the level of data redundancy in Ceph:
|
||||
|
||||
* [`storageclass.yaml`](https://github.com/rook/rook/blob/master/deploy/examples/storageclass.yaml): This example illustrates replication of 3 for production scenarios and requires at least three worker nodes. Your data is replicated on three different kubernetes worker nodes and intermittent or long-lasting single node failures will not result in data unavailability or loss.
|
||||
* [`storageclass-ec.yaml`](https://github.com/rook/rook/blob/master/deploy/examples/storageclass-ec.yaml): Configures erasure coding for data durability rather than replication. [Ceph's erasure coding](http://docs.ceph.com/docs/master/rados/operations/erasure-code/) is more efficient than replication so you can get high reliability without the 3x replication cost of the preceding example (but at the cost of higher computational encoding and decoding costs on the worker nodes). Erasure coding requires at least three worker nodes. See the [Erasure coding](../CRDs/Block-Storage/ceph-block-pool-crd.md#erasure-coded) documentation for more details.
|
||||
* [`storageclass-test.yaml`](https://github.com/rook/rook/blob/master/deploy/examples/storageclass-test.yaml): Replication of 1 for test scenarios and it requires only a single node. Do not use this for applications that store valuable data or have high-availability storage requirements, since a single node failure can result in data loss.
|
||||
* [`storageclass.yaml`](https://github.com/rook/rook/blob/master/deploy/examples/csi/rbd/storageclass.yaml): This example illustrates replication of 3 for production scenarios and requires at least three worker nodes. Your data is replicated on three different kubernetes worker nodes and intermittent or long-lasting single node failures will not result in data unavailability or loss.
|
||||
* [`storageclass-ec.yaml`](https://github.com/rook/rook/blob/master/deploy/examples/csi/rbd/storageclass-ec.yaml): Configures erasure coding for data durability rather than replication. [Ceph's erasure coding](http://docs.ceph.com/docs/master/rados/operations/erasure-code/) is more efficient than replication so you can get high reliability without the 3x replication cost of the preceding example (but at the cost of higher computational encoding and decoding costs on the worker nodes). Erasure coding requires at least three worker nodes. See the [Erasure coding](../CRDs/Block-Storage/ceph-block-pool-crd.md#erasure-coded) documentation for more details.
|
||||
* [`storageclass-test.yaml`](https://github.com/rook/rook/blob/master/deploy/examples/csi/rbd/storageclass-test.yaml): Replication of 1 for test scenarios and it requires only a single node. Do not use this for applications that store valuable data or have high-availability storage requirements, since a single node failure can result in data loss.
|
||||
|
||||
The storage classes are found in different sub-directories depending on the driver:
|
||||
|
||||
|
||||
@@ -344,7 +344,7 @@ Here, we take a backup of PVC and PV object on one site, so that they can be res
|
||||
* Create storageclass on the secondary cluster
|
||||
|
||||
```console
|
||||
[cluster-2]$ kubectl create -f examples/rbd/storageclass.yaml
|
||||
[cluster-2]$ kubectl create -f deploy/examples/csi/rbd/storageclass.yaml
|
||||
```
|
||||
|
||||
* Create VolumeReplicationClass on the secondary cluster
|
||||
|
||||
Reference in new issue
Block a user