Commit Graph
1751 Commits
Author SHA1 Message Date
travisn f339ef1629 docs: dev guide review updates
The dev guide had some outdated info that is now updated,
as well as some rewording for consistency and improved
writing.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 9f2ecedf7b)
2023-05-17 20:30:00 +00:00
travisn d361b4ca1b docs: remove obsolete comments about old versions
Remove old mentions of rook or ceph versions that
are no longer relevant.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 0f6b099403)
2023-05-17 20:30:00 +00:00
Jiffin Tony Thottan 81bcbf9b4d docs: update the documentation for external rgw servers
The StorageConfiguration docs for external needs to update with Rook
design

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit 2a96967ed0)
2023-05-17 17:29:09 +00:00
travisn abb948d8c9 build: update release version to v1.11.6
For the patch release update the docs and example manifests
to v1.11.6

Signed-off-by: travisn <tnielsen@redhat.com>
2023-05-16 14:57:19 -06:00
parth-gr 3fce0e443e docs: update ruleNamesapce to rulesNamespaceOverride
there were some places where rulenamesapce was present updated to rulesNamespaceOverride

Closes: rook#12163
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 060bd00281)
2023-05-11 17:02:50 +00:00
Travis Nielsen cdfcb9b994 Merge pull request #12210 from rook/mergify/bp/release-1.11/pr-12170
servicemonitor for rook-ceph csi drivers (backport #12170)
2023-05-08 12:28:09 -06:00
Cyril Jouve c73591860b helm: servicemonitor for rook-ceph csi drivers
the ServiceMonitor depends on:
* monitoring.enabled (availability of prometheus-operator)
* csi.serviceMonitor.enabled, to create the ServiceMonitor
* csi.enableGrpcMetrics and csi.enableLiveness to enable their
  respective endpoints in the ServiceMonitor

Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
(cherry picked from commit 6b0a8cadfc)
2023-05-08 17:38:53 +00:00
travisn 6cbf660e00 monitoring: configurable option to disable prometheus metrics
The prometheus mgr module and ceph exporter can now be optionally
disabled by the monitoring.metricsDisabled setting in the
CephCluster CR. These will not be disabled by default, rather
than the mgr module being disabled by default from v1.11.4.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 92a0ab37e3)
2023-05-08 17:04:32 +00:00
Redouane Kachach 5395d17a55 mgr: using dynamic mgr_role label to implement mgr HA
Closes: https://github.com/rook/rook/issues/11844

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit f00bd790a8)
2023-05-05 17:52:23 +00:00
Javier a30a227526 docs: update documentation for CRDs
update generation of documents for CRDs automatically

Signed-off-by: Javier <sjavierlopez@gmail.com>
(cherry picked from commit 4ef2c43b55)
2023-05-03 17:45:05 +00:00
Travis Nielsen a16346b9da Merge pull request #12178 from rook/mergify/bp/release-1.11/pr-12110
docs: add support for autogenerated docs for CRDs (backport #12110)
2023-05-03 11:43:47 -06:00
travisn b70cc768f0 build: update patch version to v1.11.5
For the patch release the docs and examples are updated to
v1.11.5

Signed-off-by: travisn <tnielsen@redhat.com>
2023-05-02 14:50:00 -06:00
Javier 2ab562c918 docs: auto-generate the documentation for CRDs
add generate-crd-docs.sh tool for auto-generate the documentation for CRDs automatically

Closes: #1873
Signed-off-by: Javier <sjavierlopez@gmail.com>
(cherry picked from commit 661e476969)
2023-05-02 20:48:46 +00:00
Travis Nielsen d4381f7408 Merge pull request #12150 from rook/mergify/bp/release-1.11/pr-12146
docs: Update core getting started docs for clarity (backport #12146)
2023-05-02 14:38:59 -06:00
Travis Nielsen 2c12f4ef7c Merge pull request #12171 from rook/mergify/bp/release-1.11/pr-12155
nfs: pare down config file volume sources (backport #12155)
2023-05-02 14:37:27 -06:00
Blaine Gardner 52eb79c3bf nfs: pare down config file volume sources
Pare down the available volume sources for NFS config files so that the
CRD isn't unnecessarily huge. This allows us to recommend
`kubectl apply` again in the upgrade doc.

Size of the NFS CRD is reduced by approximately 60%.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 6500c11d57)
2023-05-02 13:53:55 -06:00
Blaine Gardner 8bb189c5c8 test: add multus validation test routine to rook binary
Add a more involved multus validation test to the Rook binary. Because
this is intended to be end-user runnable, make sure operator-only
commands are hidden.

Build this into the rook binary instead of creating a separate binary
for ease, and because any binary built with the kube api becomes 40+
megabytes. We save quite a bit of space by including this in the Rook
binary, which is good for keeping container layers as small as possible.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 0f6e7ee921)
2023-05-02 17:38:10 +00:00
travisn ba00d251c6 docs: clarify docs for wording or obsolete info
Update the getting started guide, prereqs, architecture,
and other basic docs with more concise wording and removed
some obsolete information. Some links are removed so they
don't distract the user from reading the critical information
that we are conveying in the rook docs.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit ecdeb7aa9f)
2023-04-28 16:27:28 +00:00
Cyril Jouve bb649aa02c helm: add an ingress for ceph-objectores
Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
(cherry picked from commit 100f8c1320)
2023-04-24 14:27:17 +00:00
Jiffin Tony Thottan bce388ebbe docs: mention about reconciliation issue in hpa docs
During reconciliation of cephobjectstore, Rook operator resets the value
of replica count by the HPA and HPA brings back it up when it notices
the desired count for replica change.

Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
(cherry picked from commit 823c06da44)
2023-04-20 13:24:38 +00:00
travisn 5ade3ea535 build: update examples and docs to v1.11.4
For the patch release update the examples and docs to
v1.11.4

Signed-off-by: travisn <tnielsen@redhat.com>
2023-04-13 12:22:28 -06:00
Travis Nielsen 2c1978fbf4 Merge pull request #12085 from rook/mergify/bp/release-1.11/pr-12037
external: add support for multisite in external cluster script (backport #12037)
2023-04-13 12:01:39 -06:00
Travis Nielsen d403e123be Merge pull request #12084 from rook/mergify/bp/release-1.11/pr-12083
docs: update krew link osd removal docs (backport #12083)
2023-04-13 12:01:19 -06:00
parth-gr 7fa4e5eac1 external: add support for multisite in external cluster
Add support for realm, zone and zonegroup

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit b60da0b8c1)
2023-04-13 13:56:07 +00:00
subhamkrai 14f4748156 docs: update krew link osd removal docs
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit bb103f3a1b)
2023-04-13 13:33:58 +00:00
Angelos Kolaitis f02be9dd79 external: do not enforce need for monitoring endpoint
Add --skip-monitoring-endpoint to create-external-cluster-resources.py
to allow the script to work with Ceph clusters without an enabled
prometheus module.

Document the new flag in external-cluster.md and add relevant unit tests

Signed-off-by: Angelos Kolaitis <neoaggelos@gmail.com>
(cherry picked from commit 9e4a6ddee5)
2023-04-12 22:09:37 +00:00
parth-gr 44c44d637e external: add alias rbd pool name to support . pools name
if restricted permission was on the . was appended to k8s secret and
failed to create the secret so added a alias name is user wan't to suuport
pool with . in name

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 6c3dabcf5f)
2023-04-12 15:43:34 +00:00
travisn e6e98074ea core: update default image to ceph v17.2.6
With the release of ceph v17.2.6, the examples and the base
image for the operator are updated to pick up the latest
and greatest.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 609ac91cb1)
2023-04-12 06:15:52 +00:00
TomHellier fdfc38158a helm: add option to scale down rook operator
Some administrative actions require the user to scale down the rook operator to zero replicas to stop any potential conflicts where the operator is attempting to do something contrary to the current goals of the administrator.

closes: https://github.com/rook/rook/issues/11927
Signed-off-by: TomHellier <me@tomhellier.com>
(cherry picked from commit 13b1585ac2)
2023-04-10 17:12:23 +00:00
Ben Gao 09dfecc7e1 docs: an update to disaster recovery with new scenario
add recovering steps when rook crs and ceph daemons are all deleted.

Signed-off-by: Ben Gao <bengao168@msn.com>
(cherry picked from commit 19cb58bf5e)
2023-04-07 14:12:25 +00:00
travisn 82e9b43855 build: update release version to v1.11.3
For the patch release update the examples and docs to
v1.11.3.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-04-05 13:25:35 -06:00
Juan Miguel Olmo Martínez 37d169f872 docs: debug and test ceph manager modules
testing changes and debugging issues in Ceph manager modules

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
(cherry picked from commit b21f71f177)
2023-04-04 20:35:53 +00:00
Travis Nielsen 519b02398e Merge pull request #11959 from rook/mergify/bp/release-1.11/pr-11899
csi: make AttachRequired as configurable (backport #11899)
2023-04-04 14:28:55 -06:00
xiaobaowen fbd875dc75 docs: design doc for ceph cluster crds with monitoring
Signed-off-by: xiaobaowen <xiaobaowen@deeproute.ai>
(cherry picked from commit 963f6d3303)
2023-03-31 14:17:32 +00:00
Madhu Rajanna 3abc7f9705 csi: make AttachRequired as configurable
adding a option to make AttachRequired field
as configurable and added a comment to explain
the consequences of changing the default value

resolves: #11805

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 4c710de791)
2023-03-22 13:59:50 +00:00
travisn 9e5706fd87 build: update release version to v1.11.2
For the patch release update the docs and examples
to v1.11.2

Signed-off-by: travisn <tnielsen@redhat.com>
2023-03-21 13:18:52 -06:00
Richard Bateman f9f72c326b nfs: add hostNetwork option for the ganesha daemon
Add a hostNetwork option for a Ganesha server.
This allows you to use host networking for the cluster but still
use regular pod networking for NFS Ganesha servers

Signed-off-by: Richard Bateman <taxilian@gmail.com>
(cherry picked from commit 0ca9da23e8)
2023-03-13 18:14:57 +00:00
travisn 817e63823f docs: clarify device class use on all pools
If the device class property is specified on any pool,
it must be specified on all pools so the pg autoscaler
will remain healthy.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 38981f2649)
2023-03-08 19:20:28 +00:00
Rakshith R 2e6ae0a958 docs: add documentation for encryption key rotation
Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 340dbe05b4)
2023-03-08 16:37:34 +00:00
travisn 35b31f92aa build: update release version to v1.11.1
For the patch release the examples and docs are updated
to v1.11.1

Signed-off-by: travisn <tnielsen@redhat.com>
2023-03-07 15:07:28 -07:00
Redouane Kachach 9a3e5c4e94 Revert "mgr: remove mgr sidecar"
This reverts commit ff75ec96b7.

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 456a0c328c)
2023-03-07 18:28:25 +00:00
AJ Schmidt 6c4507d7e4 docs: fix documentation indentation
It seems that this `deviceFilter` list item is indented too far.

This PR deindents it one level.

Signed-off-by: AJ Schmidt <ajs4392@gmail.com>
(cherry picked from commit da0ed4d21f)
2023-03-06 15:03:49 +00:00
parth-gr 1344036419 external: add realm support for external cluster
if a cluster won't use the deafult realm and try to
execute the python script it will fail to vaildate rgw
as the rgw-admin-user would be created on default realm
So creating user in specific realm if the realm name is passed

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 96ea7817f8)
2023-03-01 19:43:40 +00:00
travisn dc4995f090 build: set the release version to v1.11.0
For the new minor rook release we set the examples and documentation
to v1.11.0

Signed-off-by: travisn <tnielsen@redhat.com>
2023-02-27 16:37:21 -07:00
Blaine Gardner b0b02e8ba0 docs: use kubectl replace instead of apply for crd updates
'kubectl apply --server-side' still doesn't always update CRDs
correctly if a CRD is too big to have its last applied annotation. Use
'kubectl replace' instead.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 38f896ea30)
2023-02-27 22:04:18 +00:00
parth-gr 4c92a2e93a build: update k8s version to 1.26.1
Update the Kubernetes API version used to 1.26.1, and start testing
against Kubernetes version 1.26.1 in CI.

Co-authored-by: parth-gr <paarora@redhat.com>
Co-authored-by: Blaine Gardner <blaine.gardner@redhat.com>

Signed-off-by: parth-gr <paarora@redhat.com>
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 69ae9569cd)
2023-02-24 22:13:45 +00:00
Madhu Rajanna 3d65f951d8 csi: update cephcsi to v3.8.0
updating the cephcsi image to v3.8.0
release and also removing support for
3.6.0 as its deprecated and not supported
any more.

More details at
https://github.com/ceph/ceph-csi/releases/tag/v3.8.0
and https://github.com/ceph/ceph-csi/tree/release-v3.8
\#ceph-csi-container-images-and-release-compatibility

fixes #11688

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit b01180580c)
2023-02-22 15:30:15 +00:00
Redouane Kachach 0207134140 mgr: remove mgr sidecar
With the new mgr HA implementation (based on readiness probe) we
don't need the mgr sidecar (live-watch) anymore. This commit is
intended to remove all the related code.

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit ff75ec96b7)
2023-02-22 05:20:00 +00:00
Blaine Gardner 3eda73cf3b docs: add helm supported version note to upgrade doc
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 1d3880322b)
2023-02-21 20:29:36 +00:00
Blaine Gardner 8cde4af1d8 docs: update docs to prepare for v1.11 release
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit c398d1e291)
2023-02-21 16:50:49 +00:00