Required 'min_replication' Parameter in StorageClass Overrides

Story: 2011353
Task: 52204

Patchset 4: Added a new note about the replication and min_replication parameters.

Change-Id: Ib25a6abfd55b307c734638e14708b5b9d3ee5e98
Signed-off-by: Ngairangbam Mili <ngairangbam.mili@windriver.com>
This commit is contained in:
Ngairangbam Mili
2025-05-14 05:23:23 +00:00
parent 8559d7ff29
commit 826032266d
3 changed files with 36 additions and 10 deletions

View File

@@ -68,6 +68,7 @@ utilized by a specific namespace.
name: general
pool_name: kube-rbd
replication: 1
min_replication: 1
userId: ceph-pool-kube-rbd
userSecretName: ceph-pool-kube-rbd
- additionalNamespaces: [ new-sc-app ]
@@ -76,10 +77,17 @@ utilized by a specific namespace.
name: special-storage-class
pool_name: new-sc-app-pool
replication: 1
min_replication: 1
userId: ceph-pool-new-sc-app
userSecretName: ceph-pool-new-sc-app
EOF
.. note::
The ``min_replication`` and ``replication`` parameters must be configured
accordingly to your deployment configuration. The incorrect parameter values
will cause Ceph to report a HEALTH_WARN status.
#. Apply the overrides file to the chart.
.. code-block:: none
@@ -102,6 +110,7 @@ utilized by a specific namespace.
| | name: general |
| | pool_name: kube-rbd |
| | replication: 1 |
| | min_replication: 1 |
| | userId: ceph-pool-kube-rbd |
| | userSecretName: ceph-pool-kube-rbd |
| | - additionalNamespaces: |
@@ -111,6 +120,7 @@ utilized by a specific namespace.
| | name: special-storage-class |
| | pool_name: new-sc-app-pool |
| | replication: 1 |
| | min_replication: 1 |
| | userId: ceph-pool-new-sc-app |
| | userSecretName: ceph-pool-new-sc-app |
+----------------+-----------------------------------------+

View File

@@ -145,10 +145,17 @@ application-specific namespaces to access the **cephfs-provisioner**
metadata_pool_name: kube-cephfs-metadata
name: cephfs
replication: 2
min_replication: 1
userId: ceph-pool-kube-cephfs-data
userSecretName: ceph-pool-kube-cephfs-data
EOF
.. note::
The ``min_replication`` and ``replication`` parameters must be configured
according to your deployment configuration. The incorrect parameter values
will cause Ceph to report a HEALTH_WARN status.
#. Apply the overrides file to the chart.
.. code-block:: none
@@ -174,6 +181,7 @@ application-specific namespaces to access the **cephfs-provisioner**
| | metadata_pool_name: kube-cephfs-metadata |
| | name: cephfs |
| | replication: 2 |
| | min_replication: 1 |
| | userId: ceph-pool-kube-cephfs-data |
| | userSecretName: ceph-pool-kube-cephfs-data |
+----------------+----------------------------------------------+

View File

@@ -123,17 +123,24 @@ application-specific namespaces to access the |RBD| provisioner's **general stor
.. code-block:: none
~(keystone_admin)]$ cat <<EOF > ~/update-namespaces.yaml
~(keystone_admin)]$ cat <<EOF > ~/update-namespaces.yaml
storageClasses:
- additionalNamespaces: [default, kube-public, new-app, new-app2, new-app3]
chunk_size: 64
crush_rule_name: storage_tier_ruleset
name: general
pool_name: kube-rbd
replication: 2
userId: ceph-pool-kube-rbd
userSecretName: ceph-pool-kube-rbd
EOF
- additionalNamespaces: [default, kube-public, new-app, new-app2, new-app3]
chunk_size: 64
crush_rule_name: storage_tier_ruleset
name: general
pool_name: kube-rbd
replication: 2
min_replication: 1
userId: ceph-pool-kube-rbd
userSecretName: ceph-pool-kube-rbd
EOF
.. note::
The ``min_replication`` and ``replication`` parameters must be configured
according to your deployment configuration. The incorrect parameter values
will cause Ceph to report a HEALTH_WARN status.
#. Apply the overrides file to the chart.
@@ -157,6 +164,7 @@ application-specific namespaces to access the |RBD| provisioner's **general stor
| | name: general |
| | pool_name: kube-rbd |
| | replication: 2 |
| | min_replication: 1 |
| | userId: ceph-pool-kube-rbd |
| | userSecretName: ceph-pool-kube-rbd |
+----------------+-----------------------------------------+