Commit Graph
2453 Commits
Author SHA1 Message Date
Travis Nielsen 62a9debceb core: update all docs and examples to v20.2.1
With the default version now being v20.2.1, also update
all of the examples, documentation, and default CI to run
with that version

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2026-04-28 14:09:17 -06:00
Travis Nielsen e6560ad18c Merge pull request #17282 from officialasishkumar/pool-crush-rule-cleanup
pool: clean up unused crush rules
2026-04-24 16:31:59 -06:00
Michael Adam 12cf909acd docs: clean linting part of contributing guide of yamllint
The development flow guide mentioned several tools that needed to be
installed in the PATH to run make lint.

This change removes yamllint from that list now that makeyamllint has
been made self-contained.

With pylint the only remaining requirement, this also rewords the
corresponding section for clarity.

Signed-off-by: Michael Adam <obnox@samba.org>
2026-04-24 21:04:49 +02:00
Asish Kumar 24a35e4e74 pool: clean up unused crush rules
Clean up stale CRUSH rules after the Ceph mgr starts so rules left behind by pool failure-domain or device-class changes do not accumulate indefinitely.

The cleanup is guarded by a package-level RWMutex. Pool create and update paths hold the read lock while creating and assigning CRUSH rules, while cluster-wide cleanup holds the write lock before listing pools and deleting unused rules. This keeps pool reconciles parallel with each other while preventing cleanup from deleting a rule that another reconcile has just created but not yet attached to a pool.

Keep direct pool-delete cleanup for the pool's current CRUSH rule, make the cluster-wide cleanup best-effort across all unused rules, and add an operator-level ROOK_DELETE_UNUSED_CRUSH_RULES setting for clusters that need to leave unused custom rules in place.

Document the operator and Helm settings, regenerate the Helm chart docs, and add a pending release note for the default cleanup behavior.

Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
2026-04-24 23:57:40 +05:30
Blaine Gardner ebf4656481 doc: add AI guidelines
Add AI guidelines based on discussions from the most recent community
meeting.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2026-04-24 11:49:22 -06:00
Michael Adam b0a9a1f149 docs: clean linting part of the contributing guide
The section about nake lint in the contributing guide
mentions several tools that need to be installed locally to run
the linters.

with PR #17311 which has made the shellcheck target self-contained,
the requirement is now gone for shellcheck.

This change simlifies the guide by removing the mention of shellcheck
as required to be installed.

Signed-off-by: Michael Adam <obnox@samba.org>
2026-04-24 14:55:54 +02:00
Blaine Gardner cb60ec5ae2 docs: update upgrade docs for v1.20
Update upgrade docs to reflect v1.20 changes.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2026-04-23 14:35:32 -06:00
Elias Carter 5a065948e2 doc: fix out of date references to default PgHealthyRegex
Signed-off-by: Elias Carter <elias@dropbox.com>
2026-04-20 09:39:25 -07:00
Travis Nielsen e74fed5b28 Merge pull request #17351 from ein-stein-chen/add-csimetadataradosnamespace-parameter-to-cephfilesystemsubvolumegroup-crd
Add 'CSIMetadataRadosNamespace' parameter to CephFilesystemSubVolumeGroup
2026-04-15 17:14:03 -06:00
Alexander Degenhart 17b98da89e csi: add 'CSIMetadataRadosNamespace' parameter to CephFilesystemSubVolumeGroup
This parameter is written to .spec.cephFS.radosNamespace of the generated
ClientProfile.

The parameter is called 'CSIMetadataRadosNamespace' to clarify that it is used
for CSI metadata and unrelated to the actual CephFS (meta)data.

Context:

The ceph-csi CephFS plugin stores additional metadata related to PV(C)s
in RADOS objects in the metadata pool of the CephFS.
By default those objects are stored in the 'csi' RADOS namespace.

For a multi-tenant CephFS setup (that is used by multiple K8s Clusters/
ceph-csi drivers) segregating those additional objects into separate RADOS
namespaces is desireable so the clusters can not modify the metadata of other
clusters (enforced by appropriate ceph client capabilities).

'ceph-csi' implemented this via the `cephFS.radosNamespace` config option for
cluster entries in the `ceph-csi-config` ConfigMap with https://github.com/ceph/ceph-csi/pull/4661.

The `ceph-csi-operator` added support for that config entry by adding
'radosNamespace' to the 'CephFsConfigSpec' of the 'ClientProfile' with
https://github.com/ceph/ceph-csi-operator/pull/165.

Signed-off-by: Alexander Degenhart <degenhart@fim.uni-passau.de>
2026-04-16 00:31:29 +02:00
d4c3f36bba build: make markdownlint targets self-contained
the markdownlint and markdownlint.fix make targets
required markdownlint-cli2 to be installed locally
in the $PATH.

This change renders them self-contained by running
markdownlint from the official markdownlint-cli2
docker image.

Also clean the development-flow guide for linting tools

Signed-off-by: Michael Adam <obnox@samba.org>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
2026-04-15 21:27:15 +02:00
Travis Nielsen 0e5bc13c20 Merge pull request #17278 from sophotechlabs/docs/fix-broken-links-and-outdated-refs
docs: fix broken links and outdated Go version in contributing docs
2026-04-09 08:48:39 -06:00
Artem Muterko d816e95b65 docs: fix broken links and outdated references in contributing docs
Signed-off-by: Artem Muterko <artem@sopho.tech>
2026-04-09 11:05:19 +02:00
Travis Nielsen abacf2e367 Merge pull request #16836 from subhamkrai/update-use-tentacnle
build: use ceph tentacle v20 as default version
2026-04-08 11:20:11 -06:00
Santosh Pillai 700220bfed Merge pull request #17262 from mateenali66/add-cleanup-job-example
deploy/examples: add standalone cleanup-job.yaml
2026-04-08 22:44:47 +05:30
subhamkrai 6285afc0a4 build: use ceph tentacle v20 as default version
let's use ceph tentacle as default version in deployment

Signed-off-by: subhamkrai <srai@redhat.com>
2026-04-08 15:39:17 +05:30
Mateen Anjum 5219e81538 docs(ceph-teardown): add Single Node Cleanup section
References the standalone cleanup-job.yaml for cases where the
operator-managed cleanup did not run on a specific node.

Signed-off-by: Mateen Anjum <mateenali66@gmail.com>
2026-04-07 14:18:59 -04:00
Santosh c6836c474a rgw: support SSE-S3 with vault agent
Support using SSE-S3 encryption with RGW using vault Agent auth.
RGW sends requests to the agent instead of directly to Vault, and the agent transparently injects the authentication token. This eliminates using and managing a static token

Signed-off-by: Santosh <sapillai@redhat.com>
2026-04-07 12:18:29 +05:30
Santosh bcc070738c doc: rgw accounts
adds pending release notes and documentation for the experimental Ceph
RGW accounts feature.

Signed-off-by: Santosh <sapillai@redhat.com>
2026-04-06 21:16:12 +05:30
Travis Nielsen cc626020ba Merge pull request #17250 from sp98/implement-cosuser-accounts
rgw: add accountRef to CephObjectStoreUser CR
2026-04-02 15:56:30 -06:00
Santosh 3798b00b39 rgw: add accountRef to CephObjectStoreUser CR
Adds AccountRef to the CephObjectStoreUser CR. This helps associate the
user with a RGW account

Signed-off-by: Santosh <sapillai@redhat.com>
2026-03-31 12:47:51 +05:30
Blaine Gardner 3dfc3caf93 Merge pull request #17238 from majiayu000/fix/issue-17235-objectstore-service-labels
ceph: add labels support to CephObjectStore RGW service
2026-03-30 10:37:19 -06:00
subhamkrai 833be6bc76 mon: add floating mon api changes and implementation
for tnf, adding initial api changes and implementation for floating mon.
The current pr follow embeded yaml approach for creating floating mon
deploymen instead of configmap approach.

Signed-off-by: subhamkrai <srai@redhat.com>
2026-03-30 15:45:16 +05:30
majiayu000 ac6ec79865 object: add labels field to CephObjectStore RGW service spec
Allow users to configure custom labels on CephObjectStore RGW services
by adding a Labels field to the RGWServiceSpec, following the existing
pattern used for Annotations. This enables use cases such as service
mesh integration and monitoring discovery that require specific labels
on Kubernetes services.

Fixes: #17235
Signed-off-by: majiayu000 <1835304752@qq.com>
2026-03-28 17:46:28 +08:00
Hans van den Bogert f610ecc206 doc: use complete filename for csi-operator in upgrade documentation
Signed-off-by: Hans van den Bogert <hansbogert@gmail.com>
2026-03-25 11:44:28 +01:00
Oded VinerandNiels de Vos f647a0f12d doc: add csi operator support for nvmeof
Update the NVMe-oF documentation to use the Ceph-CSI-Operator to deploy
the Ceph-CSI/NVMe-oF components.

Co-authored-by: Niels de Vos <ndevos@ibm.com>
Signed-off-by: Oded Viner <oviner@redhat.com>
2026-03-24 12:18:45 +01:00
Santosh Pillai 8e1e6e5510 Merge pull request #17188 from sp98/rgw-account-root-user
rgw: create account root user
2026-03-20 21:04:53 +05:30
Prabhala Tara Aasrita ae9a0d6fbd doc: fixed formatting issue in minikube guide
The ```console formatting was visible in the rendered document. Fixed it by changing all ')' to '.' in the list.

Signed-off-by: Prabhala Tara Aasrita <taraasrita@ibm.com>
2026-03-20 15:54:40 +05:30
Santosh fad2f6d793 rgw: create account root user
This PR creates the account root user by default when
CephObjectStoreAccount CR is created  and skips it if
`spec.rootuser.skipCreate` is true.

Signed-off-by: Santosh <sapillai@redhat.com>
2026-03-20 10:45:28 +05:30
Santosh Pillai 7a0afce65f Merge pull request #17041 from sp98/rgw-account-controller
rgw: controller for account management
2026-03-13 21:37:02 +05:30
Niraj Yadav c5613a3320 csi: update ceph-csi image to v3.16.2
This patch updates the ceph-csi image version
to v3.16.2

Signed-off-by: Niraj Yadav <niryadav@redhat.com>
2026-03-13 15:35:34 +05:30
Santosh c4ec7faee5 rgw: controller for account management
PR only focuses on account creation, deletion and update.

Signed-off-by: Santosh <sapillai@redhat.com>
2026-03-13 11:21:46 +05:30
Travis Nielsen f244f47eea Merge pull request #17102 from cobaltcore-dev/pr2-new-pools
rgw: support new RGW pools in shared pools zone json config
2026-03-11 16:13:07 -06:00
Artem Torubarov 3c0bfd8572 rgw: integration test to check new pools in zone.json
Signed-off-by: Artem Torubarov <artem.torubarov@sap.com>
2026-03-09 15:11:28 +01:00
Blaine Gardner 129b0f9524 Merge pull request #17116 from OdedViner/rgw_mon_param
exporter: add configurable port for ceph exporter
2026-03-05 10:11:10 -07:00
Mathieu Parent 1e4e31fa79 helm: allow annotations and labels for CephCluster
The helm chart will allow setting annotations and labels
in the CephCluster CR via the helm settings in values.yaml
named cephClusterMetadata.

Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
2026-02-26 23:19:31 +01:00
Travis Nielsen b8b149f557 Merge pull request #17111 from obnoxxx/docs-fix-troubleshooting-anchor-links
Docs: Clean up the  topics section in  the ceph common issues  troubleshooting guide
2026-02-26 11:40:39 -07:00
Michael Adam 4ed4c04550 docs: clean topics section of ceph troubleshooting guide
The topics section  of the ceph common problems troubleshooting guide
contained many subsection entries for symptoms, investigation and
solution.

Apart from not having working links,
these subsection entries  don't add any real value:
They are well visible within the overarching section
and in the toc on the right side.

This change cleans the toc by removing these unnecessary subsection
entries.

This also reduces the number of nonexisting anchor messages
of make docs-build from 50 to 18.

Signed-off-by: Michael Adam <obnox@samba.org>
2026-02-26 19:34:20 +01:00
Travis Nielsen f1d2cf7a2b Merge pull request #17119 from iPraveenParihar/upgrade-sidecar-versions
deploy: update CSI sidecars to latest versions available
2026-02-26 10:50:49 -07:00
Praveen M 6b55092abf csi: update CSI sidecars to latest versions available
Updated the following csi sidecars to their latest available versions:
- csi-attacher: v4.11.0
- csi-snapshotter: v8.5.0
- csi-resizer: v2.1.0
- csi-provisioner: v6.1.1
- csi-node-driver-registrar: v2.16.0

Signed-off-by: Praveen M <m.praveen@ibm.com>
2026-02-26 10:25:49 +05:30
Oded Viner c2a2fc4241 exporter: add configurable port for ceph exporter
the ceph exporter port was hardcoded to 9926, preventing
co-location of exporters from different ceph clusters on
the same node. add a port field to cephexporterspec so
users can override it via spec.monitoring.exporter.port.

Signed-off-by: Oded Viner <oviner@redhat.com>
2026-02-25 16:06:02 +02:00
subhamkrai 3f0b92a1cc csi: add comment for alternative namespace
when cluster is deployed in namespace other than rook-ceph,
csi-operator.yaml should also follow similar approach on how
rook operator.yaml and other yaml are updated to deploy in
alternate namespace using the comment `# namesapce: operator`.

Signed-off-by: subhamkrai <srai@redhat.com>
2026-02-25 11:40:26 +05:30
Joshua Hoblitt 3ef0c90ef8 object: add ObjectStoreUserSpec.OpMask field
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2026-02-10 15:10:28 -07:00
Praveen M 1ad4c04f14 csi: update ceph-csi image to 3.16.1
Signed-off-by: Praveen M <m.praveen@ibm.com>
2026-02-10 20:11:44 +05:30
Travis Nielsen 62de41aa49 Merge pull request #17038 from onno204/patch-1
Documentation: Fix metadata and data pool names for 'us' region
2026-02-06 09:06:28 -07:00
Onno204 6255fae113 docs: fix metadata and data pool names for 'us' region
this fixes a typo in the object-storage-rg documentation.

Signed-off-by: Onno204 <onno@perdonit.nl>
2026-02-06 15:34:19 +00:00
Travis Nielsen 002f33898a Merge pull request #17019 from OdedViner/nvmeof_provisioner_images
nvmeof: update expansion fields and sidecar images
2026-02-06 07:14:24 -07:00
Oded Viner 83c0b98418 nvmeof: update expansion fields and sidecar images
add expand secrets and set volume expansion in examples
update provisioner and resizer images to canary

Signed-off-by: Oded Viner <oviner@redhat.com>
2026-02-05 20:41:52 +02:00
subham rai fa4557a93b Merge pull request #16922 from subhamkrai/remove-fencing-obsolete-code
csi: remove automated node fencing code
2026-02-05 13:22:07 +05:30
Santosh Pillai 10d73cf757 Merge pull request #16990 from fhoekstra/warn-about-ceph-partition-label
docs: Add partition label containing "ceph" to ceph-common-issues.md
2026-02-04 09:50:04 +05:30