Commit Graph
662 Commits
Author SHA1 Message Date
Travis Nielsen dd7e6e4b81 Merge pull request #13640 from rook/mergify/bp/release-1.13/pr-13622
csi: option to customize csi driver name prefix (backport #13622)
2024-01-31 16:38:07 -07:00
parth-gr 6812215dbd ci: reformat the python scripts
currently there is a new release of black
formatter so updating it with new release

Closes: https://github.com/rook/rook/issues/13630

Signe-off-by: parth-gr <partharora1010@gmail.com>
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 75fcffd08c)
2024-01-30 16:28:58 +00:00
Madhu Rajanna 61bab8d17a csi: option to customize csi driver name prefix
For now we are using the operator namespace name
as the prefix for the csi driver, This PR provides
an option for the users if someone wants to have
their own prefix for the csi driver, if someone tries
to change the prefix for existing csi driver rook
operator will fail to reconcile the csi driver.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit c35a8532aa)
2024-01-29 11:27:10 -07:00
travisn 93de9be484 build: update release version to v1.13.3
For the patch release update the examples and docs
to v1.13.3

Signed-off-by: travisn <tnielsen@redhat.com>
2024-01-25 13:30:22 -07:00
travisn e95be76a36 operator: increase cpu limits
The operator needs to burst significantly when reconciling,
then will quiet down and nearly not consume any cpu.
Therefore, we allow the operator to burst to more than
a full cpu instead of limiting it to a half cpu.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit ca28887403)
2024-01-25 18:15:52 +00:00
Erik Berg f456b66e2e helm: remove duplicate key for toolbox keyring
We set `ceph_secret=${ROOK_CEPH_SECRET}` just a couple lines above,
and this duplicate is probably just an oversight.

This duplicate key is not present in the similar scripts in
  examples/toolbox.yaml
  examples/toolbox-operator-image.yaml

Signed-off-by: Erik Berg <erikberg@usit.uio.no>
(cherry picked from commit 2a225ac718)
2024-01-23 17:48:09 +00:00
Erik Berg 7b334ad875 helm: fix indentation/whitespace
Removing whitespace for consistency and wrong indentation level.
There's one actual "oopsie-fix" in here for CSI_ENABLE_READ_AFFINITY

Signed-off-by: Erik Berg <erikberg@usit.uio.no>
(cherry picked from commit 9a2d8505e7)
2024-01-23 17:48:09 +00:00
travisn 10650084be manifest: remove pg_autoscaler from mgr modules examples
The pg_autoscaler mgr module is no longer possible to disable.
Ceph requires the module to always be enabled. Now the
autoscaling configuration is done with a per-pool setting.

Now the rook module is shown as an example to enable.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit f0c30e2edb)
2024-01-19 21:38:51 +00:00
mergify[bot] 9e95479384 Merge pull request #13587 from rook/mergify/bp/release-1.13/pr-13573
csi: make leader election flags configurable (backport #13573)
2024-01-18 19:34:49 +00:00
Madhu Rajanna d4dcecea65 csi: make leader election flags configurable
This commit adds the flexibility to configure
leader election flags as per the user
requirement and also keeps the existing values
as the default one.

resolve: #13475

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 9b418d24a1)
2024-01-18 18:56:20 +00:00
Madhu Rajanna 50d5d1ccd5 csi: update csi provisioner to 3.6.3
updating csi provisioner to 3.6.3 to
as we have a bug in 3.6.2

resolves: #13475

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 85b86efee1)
2024-01-17 19:47:12 +00:00
Praveen M d568fb75aa csi: update cmdline args as used by ceph-csi
This commit adds cmdline args to enable
1. RecoverVolumeExpansionFailure
2. PreventVolumeModeConversion
3. HonorPVReclaimPolicy

Signed-off-by: Praveen M <m.praveen@ibm.com>
(cherry picked from commit a80396df1b)
2024-01-16 19:30:36 +00:00
travisn 080a660556 build: update release version to v1.13.2
For the patch release update the exampls and docs
to v1.13.2

Signed-off-by: travisn <tnielsen@redhat.com>
2024-01-11 14:04:59 -07:00
Travis Nielsen 26306ea771 Merge pull request #13543 from rook/mergify/bp/release-1.13/pr-13540
external: honour support of cluster-name legacy flag (backport #13540)
2024-01-11 14:03:31 -07:00
travisn 3c6d13996e mds: increase max limit of mds active daemons
The mds max daemons had been set arbitrarily to 10.
Allow more mds daemons for clusters that have a
scenario for large numbers of mds to manage the
filesystem metadata.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 98816ad79f)
2024-01-11 20:13:19 +00:00
parth-gr a201cda3da external: honour support of cluster-name legacy flag
we have changed the --cluster-name flag to --k8s-cluster-name
but to support automation while upgrade we should support
the legacy flag

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 8e4ec01cbb)
2024-01-09 11:42:15 -07:00
Travis Nielsen 4aa21fb6ad Merge pull request #13517 from travisn/backport-crd-shorten
backport: Shorten CRD descriptions to 100 chars
2024-01-05 12:09:41 -07:00
travisn 208da4edb0 manifest: shorten crd descriptions to 100 chars
Long CRD descriptions were pushing the size of the CRDs manifest
over 1MB, which causes issues when creating the CRDs. To shorten
the manifest, the descriptions are now limited to 100 chars.
This still gives some ability for dev tools to show a brief
description if needed. The generated CRD docs still contain
the full descriptions for reference.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 3c1b0692e4)
2024-01-05 10:19:58 -07:00
Blaine Gardner fdf9c6f2f1 multus: use nginx-unprivileged image from quay
Use Quay as the source for the nginx-unprivileged image used for the
Multus validation tool because Quay does not rate limit image pulls,
which are a common complaint for users of the tool.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit cd253d0218)
2024-01-05 15:05:18 +00:00
travisn 0c4daa788e docs: update all examples to ceph v18.2.1
Since v18.2.1 is the default recommendation for the ceph version,
update all the docs and examples to that version.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 56a3370d83)
2024-01-04 16:10:42 +00:00
travisn 4db8871be1 helm: update default ceph version to v18.2.1
In the cluster chart, set the default ceph version
to v18.2.1.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 5f60d2dfac)
2024-01-04 16:10:41 +00:00
travisn e0db6d3a00 build: update release version to v1.13.1
For the patch release update the examples and manifests
to v1.13.1

Signed-off-by: travisn <tnielsen@redhat.com>
2023-12-20 10:34:27 -07:00
Riya Singhal 8cdf1e6da3 csi: update default cephcsi version to 3.10.1
This commit updates default cephcsi driver version
to v3.10.1

Signed-off-by: Riya Singhal <rsinghal@redhat.com>
(cherry picked from commit ef1ee6ebae)
2023-12-19 19:22:28 +00:00
Travis Nielsen dbf9e6843d Merge pull request #13444 from rook/mergify/bp/release-1.13/pr-13411
csi: update the CSI-Addons sidecar to v0.8.0 (backport #13411)
2023-12-19 10:56:52 -07:00
Travis Nielsen f0c4a00278 Merge pull request #13413 from rook/mergify/bp/release-1.13/pr-13408
helm: allow configuring monitoring interval (backport #13408)
2023-12-19 10:54:44 -07:00
Travis Nielsen 2c01bc41e0 Merge pull request #13426 from rook/mergify/bp/release-1.13/pr-12369
mon: allow changing hostNetwork settings (backport #12369)
2023-12-19 10:53:35 -07:00
Niels de Vos e1b90b64b7 csi: update the CSI-Addons sidecar to v0.8.0
Quite some improvements have been included in the recently released
v0.8.0 of the CSI-Addons sidecar for Kubernetes. Rook users will benefit
from running the latest version of the sidecar when deploying Ceph-CSI.

See-also: https://github.com/csi-addons/kubernetes-csi-addons/releases/tag/v0.8.0
Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit 1ca1257c65)
2023-12-19 15:40:13 +00:00
Julien Francoz 608091ddf7 helm: fix duplicate tolerations
Fix duplicates tolerations in operator Deployment

Resolves https://github.com/rook/rook/issues/13416

Signed-off-by: Julien Francoz <julien-github@francoz.net>
(cherry picked from commit 1171b60862)
2023-12-18 20:01:33 +00:00
Blaine Gardner e7b84e2858 build: update base and manifests to ceph v18.2.1
Update Rook operator base image and example manifests to the latest Ceph
version released late last week v18.2.1.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 01d7b22cf1)
2023-12-18 19:10:19 +00:00
sp98 1aaf42146a mon: allow changing hostNetwork settings
Allow changing spec.network.hostNetwork settings on a running cluster
by failing over the mons

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 42ea2897cf)
2023-12-18 15:55:26 +00:00
Charlie Haley 1c05128320 helm: allow configuring monitoring interval
Signed-off-by: Charlie Haley <charlie.haley@hotmail.com>
(cherry picked from commit 0768eb125b)
2023-12-15 18:16:58 +00:00
travisn 681ecee76c build: update the release version to v1.13.0
For the new minor release update the examples and docs to
v1.13.0.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-12-13 19:05:39 +00:00
parth-gr cbec831eda external: fix the run as a user flag
there is a hardcoded value of "client.healthchecker"
which needs to be replaced by self.run_as_user

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 8d89faf615)
2023-12-13 18:17:57 +00:00
parth-gr 0f1141313f build: add cel rule to make resource immutable
added the cel rules at sunvolumgroup and rados
namesapce spec

closes: #13315

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 098f1fe5e8)
2023-12-12 16:49:49 +00:00
parth-gr 0c01ffad14 subvolumegroup: add pinning spec in subvolumegroup CRD
subvolumegroup can be pinned by pintype and pinsetting
So adding the spec to enhance its functionality

Closes: https://github.com/rook/rook/issues/12607

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit c9fd382c13)
2023-12-11 17:31:00 +00:00
parth-gr 054ede0aea subvolumegroup: add default csi svg CR to filesystem CR
Add the default csi svg cr to exmaples.yaml and helm

Closes: https://github.com/rook/rook/issues/13040

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 31bd3bcf96)
2023-12-11 15:41:04 +00:00
Blaine Gardner 4f8bb7a0a3 doc: update example manifests to ceph v18/v18.2.0
Update sample manifests to use Ceph v18 or v18.2.0 as appropriate now
that Reef is found to be stable.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 0db942eb52)
2023-12-08 21:28:38 +00:00
Blaine Gardner c2fe012f91 docs: remove lingering notes about required quincy ver
Remove some lingering notes stating that features require Ceph Quincy.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 685a60ed76)
2023-12-08 21:28:38 +00:00
sp98 cb36b00f46 core: create/update/delete services in other namespaces
This PR adds permissions to create or update k8s service by the
in the naemspaces other than rook operator namespace

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 1dea93794a)
2023-12-06 18:20:14 +00:00
Rakshith R 92d03c79dd csi: update default cephcsi version to 3.10.0
This commit updates default cephcsi driver version
to v3.10.0 and filesystem reconciler now creates
csi subvolumegroup by default.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit a3220d827d)
2023-12-06 17:13:02 +00:00
parth-gr 58dce5a6f6 namespace: add name spec in cephBlockPoolRadosNamespace CRD
instead of use metadata name as the backend resource name
we need to add a new name in the spec which can be the
actual backend name

Closes: https://github.com/rook/rook/issues/13220

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 5bf3847b13)
2023-12-05 17:47:47 +00:00
Cyril Jouve 4725b5a697 helm: fix namespace for objstore ingress
Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
(cherry picked from commit d65c5b6dff)
2023-12-04 23:51:05 +00:00
Mahesh Shetty e390cf83c2 operator: add tolerations for rook-ceph operator deployment
This addresses #12660. As discussed in the issue when zone failure
happens and if the operator running in that zone, then it takes the
default toleration of 300 seconds. We want to override this default
toleration seconds to 5 seconds so that operator gets redeployed
immediately

Signed-off-by: Mahesh Shetty <mashetty@redhat.com>
(cherry picked from commit 518537113b)
2023-12-04 18:10:37 +00:00
Anthony D'Atri d5c86cf13a doc: improve ceph-csi-drivers.md and lintrolling
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 59d0240676)
2023-12-04 17:12:20 +00:00
Alexander Trost ab80b77f49 operator: allow setting ceph config options via ceph cluster crd
This implements the "Ceph Config via Ceph Cluster CRD" design document
as a `cephConfig:` structure on the CRD.
This also fixes the `yq` commands used to manipulate the
`cluster-test.yaml` that caused CI issues for this PR and potentially
unknowingly others.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 4ed35d6bd6)
2023-12-02 10:27:44 +00:00
travisn cf8b9834d3 build: update the release version to v1.13.0-beta.0
For the new pre-release beta the docs and manifests are
updated to the v1.13.0-beta.0 tag.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-12-01 13:17:21 -07:00
Travis Nielsen 25f5a23072 Merge pull request #13196 from parth-gr/external-rados
external: add support for rados namespace for external cluster
2023-12-01 12:21:25 -07:00
Blaine Gardner 20ce9da197 Merge pull request #13177 from subhamkrai/add-cel
webhook: add validating admission policy
2023-12-01 09:56:03 -07:00
Blaine Gardner f4d67fd4db Merge pull request #13261 from subhamkrai/remove-controller-runtime
core: remove webhook & controller-runtime from apis
2023-12-01 09:55:34 -07:00
subhamkrai ae15604fbe webhook: add validating admission policy
this commit adds validating admission policy
for cephcluster cr according to webhook rules.
Not all the webhook can be moved to validating
admission policy for example checking multus
selector validation.

Signed-off-by: subhamkrai <srai@redhat.com>
2023-12-01 22:01:12 +05:30