Commit Graph
2042 Commits
Author SHA1 Message Date
Frank Ritchie a0488dac73 ceph: add ability to set pool quotas
This will allow setting ceph pool quotas in bytes and/or objects.

Ceph documentation: https://docs.ceph.com/en/latest/rados/operations/pools/#set-pool-quotas

Signed-off-by: Frank Ritchie <12985912+fritchie@users.noreply.github.com>
2021-02-19 13:49:25 -05:00
jinhong.kim f519323524 docs: delete 'rootPath' in cephfs storageclass yaml
The pre-provisioned volume or static-PV support in cephfs-csi has changed.
Delete 'rootPath' field which is no longer used

Signed-off-by: Jinhong Kim <hookak25@gmail.com>
2021-02-19 07:13:34 +00:00
Travis Nielsen 291bf9e061 ceph: enforce portable osds in same topology as osd prepare job
The osd prepare job detects the failure domain for the OSD by querying
the node topology labels. This topology is then assigned to the OSD
daemon in the CRUSH map. Previously, the affinity was required to be
set in the cluster CR, but it was very difficult to get right. Now the
operator will enforce the correct topology label on the OSD daemon
nodeAffinity by setting the label of the lowest topology in the hierarcy.

For example, if there are region, zone, and rack labels, the rack label
would be used to set the node affinity for the OSD daemon. If an
OSD prepare job is run in rack1, the corresponding OSD daemon will
have node affinity to rack1 to ensure the same topology. Previously,
the OSD could have ended up in rack2 unless the storageClassDeviceSet
placement was very carefully crafted.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-02-18 12:49:37 -07:00
Blaine Gardner 5b9603a763 Merge pull request #6975 from BlaineEXE/design-doc-update-osds-in-parallel
design: add design to update ceph osds in parallel
2021-02-18 12:32:11 -07:00
Blaine Gardner 2c624df7ff docs: add design to update ceph osds in parallel
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2021-02-18 09:58:08 -07:00
Travis Nielsen 99ffc4f5bf docs: include doc script for referencing github branches
The links from the documentation to github need to use the
branch name in order to point to the correct path. The docs
should reference a common script that will parse the branch
name instead of copying the script contents to all the docs.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-02-17 19:59:30 -07:00
Satoru Takeuchi 70a5d15560 ceph: fix typos in ob doc
`phase` field name is not capitalized and its values are capitalized.
Here is an example.

```
apiVersion: objectbucket.io/v1alpha1
kind: ObjectBucketClaim
...
status:
  phase: Pending
```

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2021-02-17 02:45:16 +00:00
Sébastien Han bf8fb7f179 Merge pull request #7221 from cloudical-io/docs_crds_finalizers
docs: fix crd finalizer instructions
2021-02-16 11:02:49 +01:00
Alexander Trost c988db081c docs: fix crd finalizer instructions
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2021-02-16 10:31:39 +01:00
Blaine Gardner 2e992db10c docs: use -o jsonpath in ceph-object.md
Avoids use of grep and awk.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2021-02-12 18:34:42 -07:00
subhamkrai 4ef4be019b ceph: override default values in liveness probes
this commit set default values or allow overriding of liveness probe
fields if that individual field is 0 or nil.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: subhamkrai <srai@redhat.com>
2021-02-12 20:35:56 +05:30
subhamkraiandMadhu-1 madhupr007@gmail.com dd9d1da2c8 docs: help topic for CSI troubleshooting
this commit add docs for CSI Troubleshooting when
hit with the issue in Provisioning the CephFS/RBD PVC
or Mounting the CephFS/RBD PVC to application pods.

Signed-off-by: subhamkrai srai@redhat.com
co-authored-by: Madhu-1 madhupr007@gmail.com
Signed-off-by: subhamkrai <srai@redhat.com>
2021-02-10 10:32:17 +05:30
Varsha Rao baa79cf4c3 ceph: filesystem is not required for nfs server deployment
nfs server requires valid pool for storing nfs-ganesha recovery objects. Only
when filesystem exports are created, filesystem should be configured first.

Signed-off-by: Varsha Rao <varao@redhat.com>
2021-02-08 20:13:14 +05:30
Travis Nielsen 043f947321 build: remove yugabytedb operator
The YugabyteDB team has decided to move support of their operator
to a new repo at https://github.com/yugabyte/yugabyte-operator.
The operator in Rook is no longer needed. Further usage of
the YugabyteDB operator is recommended at the new location.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-02-06 00:03:41 -07:00
Travis Nielsen a1b3682d9d Merge pull request #7162 from onedr0p/patch-1
ceph: add helm resource-policy keep annotation for CRDs in helm chart
2021-02-04 12:48:47 -07:00
ᗪєνιη ᗷυнʟ 64a0fbc91c ceph: set helm resource policy keep annotation on CRDs in Helm chart
When uninstalling the helm chart do not remove the CRDs, instead
document the way to remove the CRDs after the user uninstalls
the chart.

Closes: https://github.com/rook/rook/issues/6617
Signed-off-by: Devin Buhl <devin.kray@gmail.com>
2021-02-04 12:26:46 -05:00
Varsha Rao 380f87b0b4 ceph: update dashboard doc url to latest
ceph dashboard doc url in the doc is of older version. This patch updates it
with the latest doc url.

Signed-off-by: Varsha Rao <varao@redhat.com>
2021-02-04 18:45:37 +05:30
Varsha Rao 59084fbe06 ceph: update nfs ganesha pool recommendation
Add following don'ts note for storing ganesha recovery object:
* Don't use fs pool, it can cause this dashboard issue https://tracker.ceph.com/issues/46176
* Don't use erasure coded pool, it will not work due to ganesha's omap requirements

Signed-off-by: Varsha Rao <varao@redhat.com>
2021-02-02 17:04:18 +05:30
Sébastien Han c0123cf182 ceph: add cephfs mirroring support
With Ceph Pacific, Rook can now deploy the cephfs-mirror daemon.
This initial commit covers the deployment of a single daemon only.
Multiple mirror daemons is currently untested.
Only a single mirror daemon is recommended.

The configuration of peers will come in a later PR since the mgr module
is still pending upstream: https://github.com/ceph/ceph/pull/39050

The same goes for integration tests, they will get added later once we
start testing on Pacific.

Closes: https://github.com/rook/rook/issues/7002
Signed-off-by: Sébastien Han <seb@redhat.com>
2021-01-28 19:21:18 +01:00
Travis Nielsen ac6bbe5902 docs: remove obsolete doc for handling rebooting nodes
The approach to handle node restarts has been much improved since the
creation of this doc, with the new approach to drain nodes and
for the application to control the restarts with the pod disruption
budgets. We now remove this obsolete documentation and recommend
the PDBs to be configured.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-01-27 14:47:14 -07:00
Travis Nielsen 475260de35 Merge pull request #6875 from Madhu-1/fix-6830
ceph: add option to set FSGroupPolicy for CSI PVC
2021-01-27 08:34:45 -07:00
Travis Nielsen 4b43e7afa5 ceph: allow removal of arbitrary osds on pvcs and simplify pvc names
OSDs on PVCs previously were always replaced with PVCs of a given name.
For on-prem scenarios where the OSDs might need to be removed instead
of replaced, the operator now allows holes to exist in the PVC index
names as long as there are a sufficient number of PVCs to meet the
criteria for the deviceSet.count.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-01-26 14:38:12 -07:00
Travis Nielsen 53ed11f15b build: remove the edgefs operator from rook
The EdgeFS operator has been deprecated for some time in Rook.
If the replacement is added back to Rook it can be completed
according to the new guidelines in the documentation.
https://rook.io/docs/rook/master/storage-providers.html

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-01-25 17:51:24 -07:00
Sébastien Han 720380e3d3 Merge pull request #7024 from travisn/remove-cockroachdb
build: Remove the CockroachDB operator from Rook
2021-01-25 10:04:44 +01:00
Sébastien Han c82ae69ad9 Merge pull request #6641 from thotz/vault-kms-integration
ceph: vault kms configuration for ceph object store
2021-01-22 14:21:34 +01:00
Jiffin Tony Thottan 01649a8cd2 docs: update vault kms with RGW details
The KMS encryption via HashiCorp Vault can be consumed for RGW, adding those details
in the doc.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2021-01-22 16:04:28 +05:30
Madhu Rajanna e305810bf0 ceph: add option to set FSGroupPolicy for CSI PVC
in kubernetes 1.19 it added a support to set FSGroupPolicy
in the csidriver object, same supported is added to both
CephFS and RBD. where user will have an option to set
the FSGroupPolicy for CephFS and RBD separately.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2021-01-22 14:26:56 +05:30
Travis Nielsen 81c05524c1 docs: expectations for storage provider development
The expectations for storage provider development are now
set forth for joining Rook and maintaining existing
storage providers. This will help ensure the longevity of
storage providers in the project and for the health of
the community.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-01-21 12:07:45 -07:00
Travis Nielsen 3a6deb8775 Merge pull request #7008 from TomHellier/master
#7007 Ability to configure ROOK_ALLOW_MULTIPLE_FILESYSTEMS environment to rook operator pod in helm chart
2021-01-21 11:15:34 -07:00
Madhu Rajanna 05c75b7084 ceph: add support to disable snapshotter sidecar
In some cases the user dont want to run snapshotter
container either for CephFS or RBD. In that case the
user wont install the required snapshot CRD's due
to that the snapshotter sidecar container produces
lot of noisy logs.
Snapshotter will be enabled by default for both
CephFS and RBD, but with this PR we are providing
an option to disable snapshotter sidecar deployment
either for CephFS or RBD.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2021-01-21 15:29:55 +05:30
Sébastien Han db648bb6ee Merge pull request #7029 from cybozu-go/disable-livenessprobe-on-disaster-recovery
docs: stop livenessProbe
2021-01-21 09:28:07 +01:00
Toshikuni Fukaya b02baa66fa docs: describe what commands do
Signed-off-by: Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp>
2021-01-21 06:45:03 +00:00
Toshikuni Fukaya afab42228f docs: stop livenessProbe
Stop livenessProbe to prevent pod deletion while operation.

Signed-off-by: Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp>
2021-01-21 05:46:30 +00:00
Tom Hellier 5d6f4ef4d4 ceph: allowMultipleFilesystems in helm-operator
This change allows the setting of the ROOK_ALLOW_MULTIPLE_FILESYSTEMS in the helm operator

Signed-off-by: Tom Hellier <me@tomhellier.com>
2021-01-21 01:17:49 +00:00
Travis Nielsen 2294851ca3 build: remove the cockroachdb operator from rook
The cockroachDB operator has not had community support in Rook.
Therefore, the time has come to deprecate and remove it.
If the sources are still needed, there is always git history.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-01-20 17:28:58 -07:00
Travis Nielsen 4f841ea237 Merge pull request #6947 from kbristow/nfs-quickstart-documentation-fix
docs: updating nfs quickstart docs
2021-01-19 10:36:40 -07:00
Travis Nielsen a01e294aba Merge pull request #6978 from travisn/mon-health-doc
ceph: Add mon design to the official docs
2021-01-15 10:30:17 -07:00
Travis Nielsen b71c3ac293 ceph: add mon design to the official docs
The mon design and handling of failover is a topic that frequently
needs to be understood by rook users, thus moving this design doc
to the documentation and making some updates based on the latest
behavior.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-01-14 13:13:56 -07:00
Satoru Takeuchi 2d35703661 docs: describe osd purge job in the document of OSD management
Describe `rook-ceph-purge-osd` job in the document of OSD management
to ease day2 operations.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2021-01-14 19:46:42 +00:00
subhamkrai ed21b20113 docs: update path in quick start doc
this commit update the paths in
quick start doc.

Signed-off-by: subhamkrai <srai@redhat.com>
2021-01-13 21:46:59 +05:30
Kieran Bristow (ZA) 30214a4278 docs: updating nfs quickstart docs
The nfs quickstart docs have references to nfs-provisioner which no longer exist and the storage class example uses the wrong provisioner value.

Signed-off-by: Kieran Bristow (ZA) <kieran.bristow@absa.africa>
2021-01-12 12:06:48 +02:00
Satoru Takeuchi 1def3d0239 docs: describe how to remove healthy Ceph OSDs
Current document of OSD removal only describe the case of broken OSDs.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2021-01-07 23:22:39 +09:00
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
Sébastien Han 479787902f Merge pull request #6879 from leopaul36/fix-cephfs-doc-example
docs: added kube-system namespace to the registry sample's pvc in cephfs
2021-01-05 16:37:21 +01:00
Travis Nielsen b606be8412 Merge pull request #6898 from travisn/doc-link
docs: Fix advanced config doc link on the quickstart guide
2021-01-04 09:58:45 -07:00
Madhu Rajanna b108493042 ceph: fix typo in resource name in the snapshot instructions
updated few resource names in CSI snapshot documentation.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2021-01-04 20:45:21 +05:30
Travis Nielsen 1bb4228792 ceph: set correct v15.2.8 image name in upgrade guide
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-01-04 08:07:09 -07:00