Merge pull request #6083 from cloudical-io/rbdmirror_doc

docs: added rbd mirror crd documentation
This commit is contained in:
Sébastien Han authored and GitHub committed 2020-08-17 12:12:38 +02:00
commit f59aecb36b
2 files changed
+20 -2

No files matched your search

+18
View File
@@ -27,3 +27,21 @@ spec:
### Prerequisites
This guide assumes you have created a Rook cluster as explained in the main [Quickstart guide](ceph-quickstart.md)
## Settings
If any setting is unspecified, a suitable default will be used automatically.
### RBDMirror metadata
* `name`: The name that will be used for the Ceph RBD Mirror daemon.
* `namespace`: The Kubernetes namespace that will be created for the Rook cluster. The services, pods, and other resources created by the operator will be added to this namespace.
### RBDMirror Settings
* `count`: The number of rbd mirror instance to run.
* `placement`: The rbd mirror pods can be given standard Kubernetes placement restrictions with `nodeAffinity`, `tolerations`, `podAffinity`, and `podAntiAffinity` similar to placement defined for daemons configured by the [cluster CRD](https://github.com/rook/rook/blob/{{ branchName }}/cluster/examples/kubernetes/ceph/cluster.yaml).
* `annotations`: Key value pair list of annotations to add.
* `labels`: Key value pair list of labels to add.
* `resources`: The resource requirements for the rbd mirror pods.
* `priorityClassName`: The priority class to set on the rbd mirror pods.
+2 -2
View File
@@ -773,9 +773,9 @@ type RBDMirroringSpec struct {
// The annotations-related configuration to add/set on each Pod related object.
Annotations rookv1.Annotations `json:"annotations,omitempty"`
// The resource requirements for the rgw pods
// The resource requirements for the rbd mirror pods
Resources v1.ResourceRequirements `json:"resources"`
// PriorityClassName sets priority classes on the rgw pods
// PriorityClassName sets priority class on the rbd mirror pods
PriorityClassName string `json:"priorityClassName,omitempty"`
}