Commit Graph
1730 Commits
Author SHA1 Message Date
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
parth-gr 54b33312a5 build: update golang version to v1.19
Updated the go mod and ci to use gov1.19 as
minimum and removed support for go1.18

Closes: https://github.com/rook/rook/issues/11681
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit b81ee215a7)
2023-02-17 16:24:09 +00:00
Rakshith R 4d79b8c9b5 helm: add option for rbd read affinity
This commit documents and adds helm options
to enable read affinity for rbd volumes.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit cec987821e)
2023-02-16 15:00:33 +00:00
Rakshith R f03fb156f0 docs: add documentation about rbd read affinity
This commit documents steps to enable read affinity
for rbd volumes.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit f8c7a62c3b)
2023-02-16 15:00:33 +00:00
Travis Nielsen db36fca3c7 build: set the release version for the v1.11 beta
For the new 1.11 branch set the beta release version
to v1.11.0-beta.0.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2023-02-15 14:58:30 -07:00
Travis Nielsen 3dabc6dcb6 Merge pull request #11317 from avanthakkar/introduce-ceph-exporter
core: introduce ceph-exporter
2023-02-15 11:59:05 -07:00
Avan Thakkar 460900756c core: add service monitor for ceph-exporter service
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
2023-02-15 15:44:56 +05:30
Travis Nielsen 11e80b7047 Merge pull request #11436 from subhamkrai/bump-ci-k8s-version
ci: Update min K8s support to 1.21 and add 1.26 support
2023-02-14 20:26:56 -07:00
subhamkrai 1effb11a0a ci: bump min and max k8s support
this commit bump minmum k8s version to 1.21.14 and
max k8s version to latest 1.26.0. Keeping support for
most recent 6 versions.

Signed-off-by: subhamkrai <srai@redhat.com>
2023-02-15 07:08:02 +05:30
Travis Nielsen eb4a727658 docs: remove mention of psps from documentation
The PSPs have long since been deprected. In K8s 1.21 the PSPs
were first deprecated, and support was completely removed
for them in 1.25. With Rook v1.11, the min supported version of
K8s is now 1.21. To reduce confusion in the documentation,
mention of the PSPs is now removed from the 1.11 docs.
For the corner case that users still require the PSPs,
the helm chart still contains the option for creating PSPs
or other users can still create the psp.yaml.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2023-02-13 13:30:32 -07:00
Travis Nielsen a4f71baf8a core: option to require msgrv2 even without encryption
Enabling msgr v2 and disabling msgr v1 currently requires enabling
either encryption on the wire or compression on the wire.
As more clients are running on the latest kernel, allow
the clients to run on v2 even when encryption and compression
are not enabled. Clusters that are fully running on v2
will more easily be able to change configuration between
enabling or disabling msgr v2 features.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2023-02-10 09:45:57 -07:00
Madhu Rajanna d7dc12d834 csi: provide way to set cephfs kernel mount options
Exposing CSI configuration for the user to
set the cephfs kernel mount options.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2023-02-10 08:26:41 +01:00
Travis Nielsen d0cc3d3d9b Merge pull request #11525 from rook/add-glossary
docs: add glossary page
2023-02-08 09:40:12 -07:00
gauravsitlani 71c5969758 docs: add glossary page
Signed-off-by: gauravsitlani <gauravsitlani@riseup.net>
2023-02-08 20:20:28 +05:30
Travis Nielsen 67b3f62dcd Merge pull request #11620 from rkachach/fix_issue_11619
docs: fixing build instructions
2023-02-07 08:41:46 -07:00
Redouane Kachach bf15617b7f docs: fixing build instructions
Adding instructions to fetch the tags as they are used during
the build process. The current instructions only require the
user to clone the project which results in build errors later
on.

Closes: https://github.com/rook/rook/issues/11619
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-02-07 14:46:15 +01:00
Alexander Trost d94a73188d Merge pull request #11621 from koor-tech/fix_docs 2023-02-06 16:22:13 +01:00
Alexander Trost 8b6dbdc14d docs: fix formatting issues
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2023-02-06 15:10:32 +01:00
Travis Nielsen ba6d75d867 Merge pull request #11505 from parth-gr/external-helm
helm: document installing different types of CephClusters
2023-02-03 07:35:46 -07:00
parth-gr 20d7c00f60 helm: document installing different types of CephClusters
currently helm has only the config of cephclusterSpec
for a converged cluster, document installing pvc based,
strech based , external based cluster

Closes: https://github.com/rook/rook/issues/11480
Signed-off-by: parth-gr <paarora@redhat.com>
2023-02-03 18:34:04 +05:30
Blaine Gardner 935b137590 docs: add export path example for NFS CSI
Add an example of getting the export path for an NFS PVC to the NFS CSI
docs.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2023-01-31 15:15:33 -07:00
Rakshith R 12fd87f40b csi: add default version to images if it is missing
Rook will now append internal default versions to custom
csi image variables passed down if version is missing in
them.
This will enable users using their private registries to
just pass different image names while rook takes care
of adding default versions to them.

Resolves: #10529

Signed-off-by: Rakshith R <rar@redhat.com>
2023-01-24 14:54:05 +05:30