Commit Graph
20 Commits
Author SHA1 Message Date
Sébastien Han 294f81f2e5 Merge pull request #6913 from zufardhiyaulhaq/patch-1
ceph: add namespace note in storageclass documentation
2021-01-07 09:15:35 +01:00
Zufar DhiyaulhaqandSébastien Han 449a0223e2 docs: fix colon
Co-authored-by: Sébastien Han <seb@redhat.com>
Signed-off-by: zufardhiyaulhaq <zufardhiyaulhaq@gmail.com>
2021-01-07 08:06:17 +01:00
Zufar Dhiyaulhaq 35514b7b56 docs: add namespace note in storageclass documentation
docs: add namespace note in object storage storageclass documentation

Signed-off-by: zufardhiyaulhaq <zufardhiyaulhaq@gmail.com>
2021-01-07 08:05:59 +01:00
Sébastien Han 8ef0b5ed00 Merge pull request #6088 from onmyflow/patch-1
docs: fix RGW AWS credential export commands
2021-01-06 17:08:00 +01:00
subhamkrai badf2887bb ceph: update object prefixed manifests and related docs
apply latest changes to prefixed manifests and
related docs.

Signed-off-by: subhamkrai <subhamkumarrai03@gmail.com>
2020-09-03 12:17:15 +05:30
Daniel Schneider d4d53b610e docs: fix RGW AWS credential export commands
Fix ceph rgw export commands to access values in object yaml definitions through jsonpath instead of grep. This solves issues that arise, should there be more than one lines with the grep value in the yaml file which would concatenate arbitrary values.

Closes: https://github.com/rook/rook/issues/6087
Signed-off-by: Daniel Schneider <daniel.schneider@eramux.com>
2020-08-20 11:15:23 +02:00
Sébastien Han a5982b749f ceph: fix object store yaml example
The healthcheck for the bucket is called `bucket`.

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-08-17 17:24:26 +02:00
Sébastien Han e4eaa91ede ceph: add rgw endpoint healthcheck
We have introduced a new goroutine to check the state of the rgw
endpoint. It will run every minute and perform operations on a bucket.
The success or failure will be reported as part of the status field of
the CephObjectStore CR.

A good status will look like:

status:
  endpointStatus:
    lastChanged: "2020-06-25T13:47:45Z"
    lastChecked: "2020-06-25T13:48:46Z"
  phase: Connected

A failed status:

status:
  endpointStatus:
    details: |-
      error creating bucket "rook-ceph-internal-s3-bucket-checker": RequestError: send request failed
      caused by: Put http://rook-ceph-rgw-my-store.rook-ceph:8080/rook-ceph-internal-s3-bucket-checker: dial tcp 10.108.189.148:8080: connect: connection refused
    health: ERROR

This check works for both converged and external modes. Note that the
CephObjectStore CRD has a new field called "externalRgwEndpoints" which
allows you to define a list of IP addresses pointing to rgws.

Closes: https://github.com/rook/rook/issues/5692
Signed-off-by: Sébastien Han <seb@redhat.com>
2020-07-02 16:34:10 +02:00
Ali Maredia fc579f4520 ceph: initial commit for ceph rgw multisite resources
This commit contains CR implementations for:
CephObjectRealm
CephObjectZoneGroup
CephObjectZone

Also there are changes made to the objectstore
to add rgws in the object-store to zones and
zone groups in a multisite configuration and
the removal of the --default parameter for any
realms/zonegroups/zones that are created.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2020-06-09 16:28:53 -04:00
Travis Nielsen 0d1c83c9c3 docs: update the obc provisioner name
The OBC provisioner name changed recently to include the namespace
as a prefix, but the docs were not updated.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-05-28 17:01:17 -06:00
Travis Nielsen 51cc8a752f ceph: restructure the object store guide for OBCs
The guide for configuring object stores has a new flow for creating
buckets in the object store. This requires a new approach instead of
asking the user to create user creds and a bucket with other commands
such as s3cmd.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2019-11-05 10:04:03 +05:30
Jiffin Tony Thottan 5a72f9a299 doc: Add OBC details to admin guide
This patch adds required documentation to consume OBC for a user

Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
2019-11-04 23:14:07 +05:30
Alexander Trost 98217272be ceph: docs: unified formatting and style
This is the first phase Ceph part of three phases to improve and rework
the Rook documentation for better user accessibility to the Rook
projects and  with that the storage providers.
Phase two is about automatic generation of CRD documentation and phase
three is about reworking the docs themselves and, e.g., examples for
CRDs and certain use cases.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-11-01 18:10:32 +01:00
Juan Miguel Olmo Martínez 2de0787fc8 New setting to avoid delete pools on <fs>/<os> resources deletion
A new CRD property `PreservePoolsOnDelete` has been added to Filesystem(fs) and
Object Store(os) resources in order to increase protection against data loss.
If it is set to `true`, associated pools won't be deleted when the main
resource(fs/os) is deleted. Creating again the deleted fs/os with the same name
 will reuse the preserved pools.

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2019-09-30 08:13:39 +02:00
Michael Fritch fbf9f95378 docs: Add Clarity to Ceph CRDs
- Improve readability of 'Replicated' and 'Erasure Coded' sections
- Clarify replicated sample requires 1 OSD located on 3 different nodes
- Add whitespace to 'Pool Settings' section
- Add link to the k8s 'StorageClass' concept
- Rename instances of 'object store' as literal
`CephObjectStore`
- Rename instances of 'object store user' as literal
`CephObjectStoreUser`
- Other minor verbiage and syntax clean-up

Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-08-13 10:24:19 -06:00
Maxime Guyot f344e2454d Add a --region in the s3cmd tutorial
Add `--region :default-placement` in RadosGW tutorial to avoid the InvalidLocationConstraint error

Signed-off-by: Maxime Guyot <maxime.guyot@elits.com>
2019-07-11 16:05:19 +02:00
Sébastien Han 93b2448619 ceph: refactor rgw bootstrap
This commit does multiple things:

* remove support for AllNodes where we would deploy one rgw per node on
all the nodes.
* a transition path is implemented in the code so that if someone has an
existing deployment, daemonsets will be removed and replaced by an
deployments.
* when using "instances", each rgw deployed has its own key which makes
Ceph reporting the exact number of rgw running, see:

```
[root@rook-ceph-operator-775cf575c5-bh4sr /]# ceph -s
  cluster:
    id:     611fcf39-0669-4864-9a12-debb35c0397a
    health: HEALTH_OK

  services:
    mon: 3 daemons, quorum a,b,c (age 12h)
    mgr: a(active, since 12h)
    osd: 3 osds: 3 up (since 12h), 3 in (since 12h)
    rgw: 3 daemons active (my.store.a, my.store.b, my.store.c)

  data:
    pools:   6 pools, 600 pgs
    objects: 235 objects, 3.8 KiB
    usage:   3.0 GiB used, 84 GiB / 87 GiB avail
    pgs:     600 active+clean
```

Closes: https://github.com/rook/rook/issues/2474, https://github.com/rook/rook/issues/2957 and https://github.com/rook/rook/issues/3245
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-06-14 17:55:15 +02:00
zhoulin xie 36c35b6968 Fix misspell in doc
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-03-01 00:26:55 +08:00
Dmitry Yusupov 90ad28475c add 00 to all the weights in *.md files
Signed-off-by: Dmitry Yusupov <dmitry@nexenta.com>
2019-02-04 09:46:00 -08:00
travisn 0524084592 docs: table of contents with a storage provider organization
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-08 08:07:03 -07:00