Commit Graph
38 Commits
Author SHA1 Message Date
Jiffin Tony Thottan c98628eb0f rgw: delete zone/pools for multisite configuation
Allow option to delete the zone/pools created by ceph object zone CR.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2022-09-12 21:44:55 +05:30
Jiffin Tony Thottan 8003e764f9 rgw: add custom endpoint list option for zone
User can define his desired endpoint list in Zone CR so that it will
overwrite the default service name for rgw.

Resolves #6432

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
2022-08-17 10:03:12 +05:30
Josh Soref 6e7b8767f3 core: fix spelling
* another
* are
* availability
* available
* bootstrap
* boundaries
* ceph
* certificate
* class
* codifies
* consuming
* corrupted
* createor
* csi
* deployments
* exceeded
* execute
* filesystem
* healthiness
* heuristics
* immediately
* insecure
* installed
* isolated
* maintained
* maximum
* minute
* monitor
* new
* nginx
* nonexistent
* not
* occurs
* omitempty
* operator
* orchestration
* persistentvolumes
* placement
* preexisting
* prometheus
* protecting
* provisioner
* purposes
* reconcile
* regex
* related
* requests
* returns
* rubbish
* running
* schedulable
* schedule
* serviceaccount
* simulating
* snapshots
* statement
* static
* tenants
* the
* unavailable
* volumeattachment
* waiting
* with
* wrapper
* zonegroup

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-07-07 18:10:47 -04:00
Jiffin Tony Thottan 2f63f8c337 docs: design doc for supporting aws sse:s3 in RGW
The design doc for adding support in RGW for handling s3 requests with
sse:s3.

Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
2022-06-30 11:34:04 +05:30
subhamkrai 49a35a9311 docs: update doc path according to new doc change
we need to update the referred doc path
according to our latest doc change.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-06-01 20:17:44 +05:30
Sebastian Riese 38d37011c2 rgw: swift design document: add the endpoint to the swift user secret
This makes the secret a self-contained description how to access the
Swift API.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2022-01-13 11:10:11 +01:00
Sebastian Riese 880ee65866 rgw: swift design document: make the annotations markers numerical
This is for consistency with the other design documents.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2022-01-10 13:08:37 +01:00
Sebastian Riese c01788bec0 rgw: swift design document: change subuser secret name
The colon character is not allowed in secret names, therfore the secret
with the subuser credentials must use another character to join the
user and the subuser name.

This in turn makes the mapping non-injective (which has security
implications).

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2022-01-10 13:06:07 +01:00
Sebastian Riese 130af9c837 rgw: swift design document: specify subuser list changes
Make explicity how the operator acts when the subuser list in the
CephObjectStoreUser CR is changed.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2022-01-10 13:04:26 +01:00
Sebastian Riese f4aabdd802 rgw: swift design document: remove keystone:apiVersion
Since only OpenStack Identity API version 3 is supported the
API version need not be configurable in the resource.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2022-01-10 13:03:00 +01:00
Sebastian Riese 1e2cf1665f rgw: swift design document: add s3 credentials generation via keystone
This was missing to complete the integration with keystone.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2022-01-07 15:10:18 +01:00
Sebastian Riese 96fb61dd26 rgw: swift design document: set the target version
As proposed in the review the natural target version for this feature is
1.9 which is to be released around March 2022.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2022-01-06 15:43:42 +01:00
Sebastian Riese ad693d555a rgw: swift design document: improve spelling and wording
Miscellaneous wording and fix spelling fixes.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2022-01-06 15:41:05 +01:00
Sebastian Riese b14222c813 rgw: swift design document: remove the Open Questions
The open questions have been resolved in the discussion and the chosen
solution has been added to the main text. So the Open Questions section
is obsolete now.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2022-01-06 15:38:45 +01:00
Sebastian Riese f9b2e39eca rgw: swift design document: sharpen the goals/non-goals
The goals/non-goals were mixed up to a degree. This
cleanly separates them to their respective sections.

In the course of that the term "Keystone API" was replaced by the more
correct "OpenStack Identity API" and the documentation of the API was
linked.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2022-01-06 15:35:38 +01:00
Sebastian Riese ed01435f0e rgw: swift design document: remove unnecessary metadata
As noted in the review this metadata is not required in design
documents.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2022-01-06 15:33:29 +01:00
Sebastian Riese 283d31e0db rgw: swift design document: configure swift in a new section
Instead of mixing configuration for different protocols in the gateway
section, depending on the type option, introduce a new section protocols for
API specific configuration.

This allows configuring s3 and swift in one RGW and at the same time
simplifies validation of the CRD and allows for a clean separation of
concerns.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2022-01-03 13:46:38 +01:00
Sebastian Riese 90a37ddd22 rgw: swift design document: clarify specification
* add annotations to the examples of new CR fields

* add links to external documentation

* clarify language issues raised in review

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2022-01-03 13:46:33 +01:00
Sebastian Riese b9a32d0ba0 rgw: swift design document: clarify the section on the openrc secret
The prior formulation which openrc variables take effect was
ambiguous/contradictory.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2021-12-17 16:34:40 +01:00
Sebastian Riese bd7fe77c2f rgw: swift design document: subuser management
Access to the Swift API is granted via subusers. The configuration
of the subusers is added to the cephobjectstoreuser CR.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2021-12-17 16:32:03 +01:00
Sebastian Riese 127c40626a rgw: swift design document: document which CAs are used for accessing keystone
The integration of Keystone includes HTTPS API calls to Keystone. We
document why the CA bundle used to verify those connections,
can't be explicitly configured and how it can be indirectly configured.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2021-12-17 16:29:09 +01:00
Sebastian Riese dc08052c3b rgw: swift-design document: make OBC interaction out-of-scope
It is not clear at this moment whether anyone has a use case for this.
As a workaround you can explicitly generate a user and subuser that
can access the bucket created via OBC.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2021-12-17 16:28:58 +01:00
Sebastian Riese 47c71ce7dd rgw: draft a design document for the Keystone and Swift integration
Ceph RGW supports integrating with OpenStack clouds by providing
the Swift object store API and using Keystone for authentication.
The design document describes how the required configuration shall
be mapped to the Object Store CRD.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
2021-12-16 10:55:35 +01:00
Sébastien Han c890710b63 core: change directory layout
As per discussion, proposing a new layout for the charts/yaml/olm files.

./deploy
├── charts
│   ├── rook-ceph
│   │   └── templates
│   └── rook-ceph-cluster
│       └── templates
├── examples
│   ├── csi
│   │   ├── cephfs
│   │   └── rbd
│   ├── flex
│   ├── monitoring
│   ├── pre-k8s-1.16
└── olm
    └── assemble

Signed-off-by: Sébastien Han <seb@redhat.com>
2021-11-30 09:12:53 +01:00
Yuval Lifshitz 71ed45b69b rgw: implement bucket notifications for object storage
following the design from here:
https://github.com/rook/rook/blob/master/design/ceph/object/ceph-bucket-notification-crd.md

Closes: https://github.com/rook/rook/issues/5313
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2021-11-04 11:20:40 +02:00
Sébastien Han 86c9a8f3de rgw: read tls secret hint for insecure tls
If the admin wants to use insecure TLS to validate connections to rgw
internally, the TLS secret can have another entry "insecureSkipVerify"
and set it to "true".

Signed-off-by: Sébastien Han <seb@redhat.com>
2021-10-28 11:27:00 +02:00
Denis Egorenko fb04908315 ceph: add ability to specify ca bundle for rgw
Specify ca Bundle for RGW spec and mount inside pods.

Related-Issue: https://github.com/rook/rook/issues/8490
Signed-off-by: Denis Egorenko <degorenko@mirantis.com>
2021-08-10 23:18:26 +04:00
Satoru Takeuchi c2adbdd8a8 ceph: remove an missing field in crd
`CephObjectStore->gateway->type` is not used. Rook has only supported s3-like
interface and hasn't had no code which handles `type` field.

In addition, this field was removed from CRD in the following commit.

ceph: auto-gen crds
31db03fece

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2021-05-17 07:51:13 +00:00
subhamkrai 51910d0fed docs: updating according to the markdown convention
this commit update all the docs according to the
markdown convention for the command.

[skip ci]

Signed-off-by: subhamkrai <srai@redhat.com>
2021-03-05 10:45:04 +05:30
Guillaume Moutier b28ce38ca9 ceph: bucket notifications CRD documentation
This documents the Ceph topics and buckets notification management by rook through CRs.

Signed-off-by: Guillaume Moutier <guillaume.moutier@gmail.com>
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2021-01-22 10:08:38 +05:30
Sébastien Han 3da9f2212f bot: fix codespell issue
Make the bot happy.

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-11-24 11:41:09 +01:00
Mateusz Gozdek 8ba3762fa4 docs: fix bunch of typos
Found by running the following command:

codespell -S .git,*.png,*.jpg -L \
aks,keyserver,atleast,dne,ser,ist,files\',ba,dum,iam,te -f -H

Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2020-11-06 10:01:04 +01:00
Jiffin Tony Thottan b91d1aedee docs: design doc for bucket policy feature
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2020-07-23 18:09:26 +05:30
Ali Maredia 9dd0ea894a ceph: documentation for pulling a realm for multisite
This commit adds design revisions, examples, and
documentation for object multisite.

Changes to the CephObjectRealm to pull a realm
from another cluster, and the zone for creating
pools are amongst the larger changes

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2020-07-21 16:46:18 -04:00
Ali Maredia 0f7e55780c ceph: add pool creation for ceph-object-zone
When zones are created the ceph RGWs inside the
those zones should be using pools with the zones
name not the object-store's name

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2020-07-21 13:30:41 -04:00
Sébastien Han a760b6d5ae doc: ceph fix rgw links
links were pointing to dead pages.

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-05-13 17:16:49 +02:00
Satoru Takeuchi 06b10e248c ceph: support topoplogySpreadConstraints
Support topologySpreadConstraints to spread OSD pods among failure
domains as even as possible.

https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/

Without this feature, the number of OSD pods would be different
between the failure domains very much. At worst, there is
a possibility that a failure domain has many OSDs and other
failure domains have no OSDs. It can partly be mitigated
with podAntiAffinity. However, it only works if there are at most
one OSD per node. For more detail, please refer to the following
document.

https://github.com/rook/rook/blob/master/cluster/examples/kubernetes/ceph/cluster-on-pvc.yaml#L59

Closes: https://github.com/rook/rook/issues/4387
Signed-off-by: Hiroshi Muraoka <h.muraoka714@gmail.com>
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2020-04-02 16:40:58 +00:00
Ali Maredia 429a4c336e ceph: initial design documents for ceph multisite
The implementation of this initial design will
allow object-stores to sync data across Rook Ceph
Clusters via a Day 1 setup of Ceph RGW Multisite

This design splits the realm, zonegroup, and zone
objects of Ceph RGW Multisite into seperate
resources.

This commit also moves all ceph object designs
into the design/ceph/object dir.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2020-02-25 17:10:08 -05:00