Commit Graph
992 Commits
Author SHA1 Message Date
Josh McSavaney cc7b07c840 ceph: tweak removeOSDsIfOutAndSafeToRemove wording
- Corrects what I think was a typo ("when then" -> "when they")
- Picks a single tense
- capitalizes OSD

Signed-off-by: Josh McSavaney <me@mcsau.cc>
2020-09-14 18:17:47 -04:00
Travis Nielsen bea518a4c4 Merge pull request #6192 from cybozu-go/ceph-update-the-note-of-osd-on-lv-backed-pvc
ceph: update the note of OSD on LV-backed PVC
2020-09-08 14:32:15 -06: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
Sébastien Han a3328564bd Merge pull request #6187 from greenstatic/docs-formatting-fix
docs: fix markdown code block formatting issue
2020-09-01 09:33:43 +02:00
Satoru Takeuchi 6ae37de6fb ceph: update the note of OSD on LV-backed PVC
The problem of OSD on LV-backed PVC can be mitigated with disabling
`lvmetad`.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2020-09-01 04:18:14 +00:00
Raghavendra TalurandNitin Goyal f8a721dbb0 ceph: doc additions for the uninstall mode
Add documentation for the setting AllowUninstallWithVolumes to the
following files:
Documentation/ceph-cluster-crd.md
cluster/examples/kubernetes/ceph/cluster.yaml

Co-authored-by: Nitin Goyal <nigoyal@redhat.com>
Signed-off-by: Raghavendra Talur <raghavendra.talur@gmail.com>
2020-08-31 14:07:32 -04:00
Gregor Krmelj 256b284b35 docs: fix markdown code block formatting issue
this fixes the issue of the code block not being rendered
correctly from markdown into html.

Signed-off-by: Gregor Krmelj <gregor@krmelj.xyz>
2020-08-31 16:40:48 +02:00
Sébastien Han 5bcade6d55 Merge pull request #6164 from cybozu-go/ceph-improve-common-issues-document
ceph: improve common issues document
2020-08-26 15:56:14 +02:00
Satoru Takeuchi 65528d67ed ceph: improve common issues document
node-hangs-after-reboot problem can't be fixed with ceph-csi:2.0.1
if Rook is v1.2.x. It's because this version doesn't have a bind
mount that is needed to fix this problem.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2020-08-25 22:09:33 +00:00
Travis Nielsen e40b462216 Merge pull request #6084 from cloudical-io/additional_user_labels_ceph
ceph: allow user to add labels to pods
2020-08-25 15:58:40 -06:00
Travis Nielsen d786b7f547 docs: fix link to ceph upgrade guide
There was a broken link in the cluster CR documentation that was pointing
to /Documentation instead of the .md in the same dir.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-08-25 13:43:03 -06:00
Alexander Trost a87c00ddee ceph: allow user to add labels to pods
This allows users to specify additional labels to be added to the components
created by the Rook Ceph operator.
Additionally the rbd mirrors are now getting their annotations and
labels set.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2020-08-25 19:38:51 +02:00
Sébastien Han fc60241c88 Merge pull request #6081 from cloudical-io/use_v1_rbac
docs: use `rbac.authorization.k8s.io/v1` consistently
2020-08-24 10:47:10 +02:00
taeuk_kim c7e4ac9362 docs: fix OSD Dedicated Network docs
reflect new hostNetwork API of CephCluster to Advanced Configuration docs

Signed-off-by: taeuk_kim <taeuk_kim@tmax.co.kr>
2020-08-21 10:14:23 +00:00
rohan47 8c4ede1edc ceph: added support for multus for csi
CSI pods now utilize multus networking and connect to public
network specified in the CephCluster CR.

Closes: https://github.com/rook/rook/issues/5356
Signed-off-by: rohan47 <rohgupta@redhat.com>
2020-08-20 18:25:09 +05:30
Alexander Trost be16bc455f docs: operator use rbac.authorization.k8s.io/v1
This replaces any uses of `rbac.authorization.k8s.io/v1beta1` with
`rbac.authorization.k8s.io/v1` affecting RBAC objects like ClusterRole
and ClusterRoleBindings, etc. to make it consistent.
This is done as some RBAC objects used the `v1beta1` and others already
using `v1`.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2020-08-20 12:08:32 +02:00
Sébastien Han 9ed885c57f Merge pull request #6121 from thotz/podmandocumentation
docs: mention about podman in development workflow
2020-08-20 09:39:20 +02:00
Sébastien Han a1a1a989a5 Merge pull request #6122 from thotz/crcdoclink
docs: provide link for crc documentation
2020-08-20 09:38:38 +02:00
Jiffin Tony Thottan e17c1a6151 docs: mention about podman in development workflow
Rook supports building images with podman as well, mention that in documentation
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2020-08-19 22:51:56 +05:30
Jiffin Tony Thottan 0815899078 docs: provide link for crc documentation
CRC aka code ready containers provide openshift cluster 4.x in a single host machine
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2020-08-19 22:49:32 +05:30
Travis Nielsen ce92249725 ceph: continue with memory limits below min settings
The operator will now allow the resource limits to be applied below the
recommended minimums. In small clusters, even the recommended minimums
may not be necessary. A warning is still printed to the operator log,
but we allow the configuration to continue.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-08-19 11:07:16 -06:00
Travis Nielsen 1111f7b3ca Merge pull request #6079 from cybozu-go/ceph-add-a-note-of-OSD-on-LV-backed-PVC
docs: add a note of OSD on LV-backed PVC's known problem
2020-08-19 09:14:34 -06:00
Yuji Ito ce1951469d ceph: reflect review
Signed-off-by: Yuji Ito <llamerada.jp@gmail.com>
2020-08-19 02:55:37 +00:00
Travis Nielsen 0ffa0348b5 ceph: separate placement for osd prepare jobs from osd daemons
The osd prepare jobs and osd daemons may have different placement
requirements. In particular, the topology spread constraints
or pod anti-affinity should only work on either the prepare job or
osd daemon, but does not work effectively on both types at the same
time. Therefore, we split out the osd prepare placement to be separate
from the osd daemon placement. If the osd prepare placement is not set
the operator will fall back to the osd daemon placement for
backward compatibility.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-08-18 15:24:04 -06:00
Alexander Trost 435b99f7ee Merge pull request #6086 from cloudical-io/fix_5491 2020-08-17 22:15:24 +02:00
Alexander Trost 2288ec90ed docs: fix helm command usage
This fixes the helm commands to be compatible with Helm v3.x and adds an
example / notes for Helm v2.x users.

Resolves #5491

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2020-08-17 22:04:26 +02:00
Sébastien Han b4208f4a55 Merge pull request #6090 from leseb/fix-rgw-healthcheck
ceph: fix object store healthcheck yaml
2020-08-17 17:32:15 +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
Alexander Trost e990841206 docs: added rbd mirror crd documentation
This adds some basic RBDMirror CRD documentation and fixes the types.go
comments accordingly.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2020-08-17 11:55:42 +02:00
Satoru Takeuchi 1a3c175e63 ceph: add a note of OSD on PVC-backed PVC's known problem
There is a critical flaw in OSD on LV-backed PVC. So it's necessary
to let users to know what they should do.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2020-08-14 00:10:47 +00:00
Travis Nielsen 7481993959 Merge pull request #6017 from humblec/ceph-csi-snapshotter
Add/update ceph csi snapshotter rbac and sidecar deployments
2020-08-13 12:32:35 -06:00
Humble Chirammal 97a3283099 ceph: add snapshot create/delete and restore doc for cephfs
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2020-08-13 22:17:01 +05:30
Sébastien Han d91f55e8ed Merge pull request #5580 from silverhandy/master
ceph: add support for wal device for OSD on PVC
2020-08-11 13:57:56 +02:00
Takashi IIGUNI 0e86a5a0c4 docs: fix clean policy confirmation of ceph-cluster-crd
Make the document of cleanup policy clearer.

Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2020-08-11 01:59:56 +00:00
Chen, Tingjie 0e87348093 ceph: add support for wal device for OSD on PVC
Based on the feature of metadata PVC for OSD: #4818, add the wal device.

For this, you need to create a new volumeClaimTemplates, its name must be "wal", if "wal" is
set, "metadata" device will refers specially for block.db device, and "wal" refers for block.wal
device in BlueStore.

A template will look like this:

```
volumeClaimTemplates:
- metadata:
    name: data
  spec:
    resources:
      requests:
        storage: 10Gi
    # IMPORTANT: Change the storage class depending on your environment (e.g. local-storage, gp2)
    storageClassName: gp2
    volumeMode: Block
    accessModes:
      - ReadWriteOnce
- metadata:
    name: metadata
  spec:
    resources:
      requests:
        storage: 6Gi
    # IMPORTANT: Change the storage class depending on your environment (e.g. local-storage, io1)
    storageClassName: io1
    volumeMode: Block
    accessModes:
      - ReadWriteOnce
- metadata:
    name: wal
  spec:
    resources:
      requests:
        storage: 6Gi
    # IMPORTANT: Change the storage class depending on your environment (e.g. local-storage, io1)
    storageClassName: io1
    volumeMode: Block
    accessModes:
      - ReadWriteOnce
```

We now map block, block.db and block.wal directly inside the container instead of
running ceph-volume activate.

Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>
2020-08-10 08:48:20 +08:00
Sébastien Han 2dcc6ee392 Merge pull request #5864 from rohan47/whereabouts_fix
ceph: fix networkAttachmentConfig to be compatible with whereabouts cni
2020-08-06 15:11:16 +02:00
Umanga Chapagain da1910840a ceph: add CRD changes and documentation
adds `enableRBDStats` to CRD manifets and updates documentation
on its usage.

Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2020-08-06 12:11:55 +05:30
rohan47 f5bbc8c5c5 ceph: fix networkAttachmentConfig to be compatible with whereabouts cni
In the whereabouts config, the network range is determined by range
option unlike other cni plugins that use Subnet option.

Signed-off-by: rohan47 <rohgupta@redhat.com>
2020-08-05 21:17:13 +05:30
Sébastien Han dfc701805a Merge pull request #5873 from leseb/encryption-raw-mode
ceph: add encryption support for osd pvc
2020-08-05 13:34:59 +02:00
Sébastien Han 3c73e5f5d7 Merge pull request #5886 from alimaredia/wip-object-store-multisite-doc-fixes
ceph: minor fixes for multisite docs
2020-08-05 10:16:11 +02:00
Sébastien Han 89b3225441 ceph: add encryption support for osd pvc
We can now encrypted OSD device that were provisioned via a storage
class using the PV interface.
The encryption works at the storageClassDeviceSets level, which means we
can have encrypted and non-encrypted sets.
Using the new key `encrypted` we can turn it on.

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-08-05 10:06:11 +02:00
Ali Maredia ba169fa167 ceph: fixes for multisite docs
Reformatting and fixes in ceph-object-multisite.md.
Also a minor fix in object-store crd docs.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2020-08-04 23:50:18 -04:00
Travis Nielsen 14495d1e5a ceph: upgrade documentation for v1.4
The upgrade guide is now updated for upgrades from v1.3 to v1.4.
The v1.2 upgrade yamls are removed and the docs are cleaned up from
1.3 upgrade steps that are no longer necessary.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-08-04 15:47:18 -06:00
Madhu Rajanna 3ebeb5a7ca ceph: add expand secret to examples in md file
add CSI expand secret details in example storageclass
templates.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-08-04 11:13:11 +05:30
Travis Nielsen f894ab48be Merge pull request #5946 from alexcpn/patch-1
Documentation improvement for Ceph External Cluster
2020-08-03 10:25:32 -06:00
Alex PunnenandSébastien Han de6a8c0782 ceph: docs
Added a StorageClass example for better document usability to test CephExternal cluster

Solves: None
Co-authored-by: Sébastien Han <seb@redhat.com>
Signed-off-by: Alex Punnen <alexcpn@gmail.com>
2020-08-03 20:03:32 +05:30
Jiffin Tony Thottan ec5f13318c ceph: enable/disable dashboard for rgw
Provide permission for dashboard to collect the object store metrics.

Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
2020-08-03 10:26:54 +05:30
Jiffin Tony Thottan f4240cb31d ceph: add quota support for obc
Closes: #5274
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2020-07-28 12:00:11 +05:30
Travis Nielsen 22ba4591f3 Merge pull request #5888 from Madhu-1/csi-v3.0.0
ceph: update ceph-csi to v3.0.0 release
2020-07-27 14:05:29 -06:00
Madhu Rajanna 0204bac9d1 ceph: add documentation for rbd volume cloning
added new documentation for rbd volume cloning

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-07-27 20:51:42 +05:30