Commit Graph
55 Commits
Author SHA1 Message Date
Stefan Haas b3cc4aeb44 ceph: ceph-csi version detection #3824
Checks the version of the configured ceph-csi image while starting the operator. The operator will fail if the image is not supported.
Added an additional parameter to operator to disable the check e.g. to test not yet supported csi images.

Signed-off-by: Stefan Haas <shaas@suse.com>
2020-02-28 14:14:40 +01:00
Madhu Rajanna 48a6e493e8 CSI: Add LogLevel for csi templates
Currently there is no option to turn on and off the
log level verbosity in csi containers, This PR adds
the functionality to select logging levels for csi containers.

Fixes: #4690

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-01-31 15:04:11 +05:30
Madhu Rajanna cf16184899 CSI: Add support for CSI volume expansion
This PR makes the necessary changes required
for volume expansion support for both cephfs and
rbd.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-01-28 23:50:23 +05:30
Madhu Rajanna 8c1a90ca01 CSI: upgrade node-driver-registrar from v1.1.0 to v1.2.0
latest released upstream version is v1.2.0,this
PR updates it to latest releasd version.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-01-28 23:50:15 +05:30
Madhu Rajanna 06d2dd2994 CSI: update csi-attacher from v1.2.0 to v2.1.0
external-attacher v2.x is not compatible with v1.x
This PR makes the require changes in csi templates
and upgrade documentation for easily upgrade

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-01-28 23:46:24 +05:30
Madhu Rajanna 0abb3b9e1b CSI: update ceph-csi image tag to v2.0.0
ceph-csi v2.0.0 is released. This commit updates
the image tag to latest released ceph-csi version

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-01-28 12:20:13 +05:30
Jeff Billimek 127e9d289a ceph: bumping ceph-operator memory limit to 256Mi
* bumping ceph-operator memory limit from 128Mi to 256Mi in order to
avoid OOMkills of the rook-ceph-operator pod
* updating documentation example for operator to denote a limit of 256Mi
instead of 128Mi

When upgrading from rook v1.1.7 to v1.2.0, the rook-ceph-operator pod
continued to get OOMKilled by the kubernetes scheduler.  Manually
bumping this limit to something higher than 128Mi (I tried 256Mi and it
was good) prevented the OOMKills.

Signed-off-by: Jeff Billimek <jeff@billimek.com>
2019-12-20 11:41:40 -05:00
Madhu Rajanna 8be3cdd10e CSI: cephfs and rbd daemonset upgrade strategy
CSI nodeplugins, specifically when using cephfs FUSE or
rbd-nbd as the mounters, when upgraded, will
cause existing mounts to become stale/not-rechable
(usually connection timeout errors).

This is due to losing the mount processes running within the
CSI nodeplugin pods.

This PR add updated the Daemonset update strategy
based on the ENV variable to take care of above issue
with some manual steps

Moreinfo: https://github.com/ceph/ceph-csi/issues/703

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

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-12-16 23:15:56 -07:00
Madhu Rajanna 85d622dc2f CSI: Add ENV variable to use ceph kernel client
In ceph-csi v1.2.2 we have add a flag `forcecephkernelclient`
to force use Ceph Kernel clients on kernel < 4.17 which
support quotas for Cephfs

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-12-16 12:36:31 -07:00
Madhu Rajanna cc418bce3b CSI: Ability to disable snapshotter from ceph-csi rbd
we need to set a ENV `CSI_RBD_ENABLE_SNAPSHOTTER`
variable to "false" in operator template to disable
deployment of snapshotter sidecar in ceph-csi rbd
provisioner.

Fixes: #4401
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-12-03 13:27:29 +05:30
Madhu Rajanna 7f14b52ba6 CSI: update ceph-csi from v1.2.1 to v1.2.2
cephcsi v1.2.2 release is out and the image is available
for use, updating rook to use latest available release
image

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-11-21 10:59:20 +05:30
Travis Nielsen 8e3a620bc5 Merge pull request #4335 from Madhu-1/update-sidecar
CSI: update kubernetes sidecar images
2019-11-18 22:57:06 -08:00
Madhu Rajanna 49381b322d CSI: update kubernetes sidecar images
update csi sidecar images to fix CVE-2019-11255

more info:
https://github.com/kubernetes/kubernetes/issues/85233
https://github.com/kubernetes-csi/external-snapshotter/issues/193
https://github.com/kubernetes-csi/external-provisioner/issues/380

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-11-19 10:20:12 +05:30
d-luu 9c755fac66 ceph: added priority classes to components
Adds priority class support to Ceph components
  to influence scheduler's pod preemption

Signed-off-by: d-luu <david@davidluu.info>
2019-11-15 16:28:41 -06:00
Alexander Trost 020626a432 docs: added missing Rook Ceph operator helm values
Added missing csi values of the Rook Ceph operator helm chart to the
documentation.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-11-03 13:06:38 +01:00
Alexander Trost c7afa0eb43 misc: docs: unified formatting and style
This is the first phase  miscellaneous part of three phases to improve and
rework the Rook documentation for better user accessibility to the Rook
projects and  with that the storage providers.
Phase two is about automatic generation of CRD documentation and phase
three is about reworking the docs themselves and, e.g., examples for
CRDs and certain use cases.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-11-01 18:13:27 +01:00
Umanga Chapagain 33fc9a013a updates helm-operator documentation
+ added new nodeAffinity options

Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2019-08-27 15:23:15 +05:30
Mathias Chevalier a9383ce397 ROOK_CURRENT_NAMESPACE_ONLY env var in operator deployment made configurable with helm
Signed-off-by: Mathias Chevalier <mc.mumrau@gmail.com>
2019-08-17 08:47:45 +02:00
Mateusz Gozdek f936394764 ceph: allow to set multiple tolerations for agent and discover pods
Closes #2896

Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2019-07-17 23:11:18 +02:00
travisn 81f55a12eb build: promote builds only to master and release
The alpha, beta, and stable channels do not match the rook release process.
Each storage provider defines their own stability based on the CRDs
rather than defining it with the release process. Rook really
only has two release streams: master and the official releases.
Master is published with each merge, while releases go through
a signoff process to ensure quality. Thus, the alpha, beta,
and stable channels are removed and replaced with a
single release channel.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-27 22:49:11 -06:00
Louis f88beafc56 update ROOK_MON_OUT_TIMEOUT to 600s
Signed-off-by: Louis <gofaceme@gmail.com>
2019-04-23 11:19:23 +08:00
travisn 5afcf98315 Documentation for the yaml refactor and example crds
Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-04 12:42:08 -06:00
Alexander Trost dcc5d2b5ea Added ROOK_HOSTPATH_REQUIRES_PRIVILEGED as value to Helm Chart
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-02-28 20:42:51 +01:00
Dmitry Yusupov 90ad28475c add 00 to all the weights in *.md files
Signed-off-by: Dmitry Yusupov <dmitry@nexenta.com>
2019-02-04 09:46:00 -08:00
Jared Watts 30f5283a72 docs: add stable channel to rook ceph helm chart docs
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-12-21 11:12:44 -08:00
travisn 0230400e27 build: remove 1.8 and 1.9 and add 1.13 to integration tests
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-19 23:42:01 -07:00
travisn 0524084592 docs: table of contents with a storage provider organization
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-08 08:07:03 -07:00
Alexander Trost ac19f85fbb Allow specifying custom Ceph user and secret name for mounting
Introduce mount security mode for basic multi tenancy

Fixes #2164.

This adds three new parameters/options to StorageClass/flexvolume entry:
* `mountUser`
* `mountSecret`
* `mountSecretNamespace`

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-12-04 20:17:15 +01:00
John Axel Eriksson dd7860fb8e Support additonal agent mounts and alternate lib/modules host path.
The background is that there are at least two distributions with very
different host fs layouts. Those would be NixOS and GNU Guix.

For example, on NixOS, /lib/modules does not exist, it can instead
be found at /run/current-system/kernel-modules/lib/modules where
/run/current-system/kernel-modules is a symlink into /nix/store.

Within the modules directory, again on NixOS, there are more links
into the /nix store.

So to support alternate host fs layouts it is now possible to specify
the lib/modules host path and in addition specify extra mounts.

Signed-off-by: John Axel Eriksson <john@insane.se>
2018-10-17 21:03:44 +02:00
Ratnadeep Debnath 5dfd012c77 Updated docs about setting k8s 1.8 as the min reqd version.
Signed-off-by: Ratnadeep Debnath <rtnpro@gmail.com>
2018-08-28 21:10:03 +05:30
Terje Sannum f48c0efeea helm: support adding annotations on pod
Signed-off-by: Terje Sannum <terje.sannum@nav.no>
2018-08-07 13:21:40 +02:00
Alexander Trost 5a3f9cb997 Improve flexvolume docs with better structure
Added OpenShift and Atomic flexvolume info

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-08-01 22:34:47 +02:00
Matt Pryor e9a68bd443 rook/rook#1893 Add tolerations to Helm chart
Signed-off-by: Matt Pryor <matt.pryor@stfc.ac.uk>
2018-07-17 10:39:59 +01:00
travisn 0854cbaf55 docs: clarifications for the 0.8 release
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-13 14:29:57 -06:00
Alexander Trost 7f609c17ec helm: Added nodeSelector to rook-ceph operator chart
Closes #1571.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-07-09 18:24:48 +02:00
Alexander Trost 7d65b3ee5c helm: Added DISCOVER_TOLERATION_KEY and DISCOVER_TOLERATION values
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-06-07 10:30:00 +02:00
travisn 221dc3ec8b docs: User docs/guides updates for multiple storage type support
Signed-off-by: travisn <tnielsen@redhat.com>
2018-05-18 14:29:01 -07:00
travisn fc9118f7b2 remove support for k8s 1.6 and TPRs
Signed-off-by: travisn <tnielsen@redhat.com>
2018-05-08 10:09:38 -07:00
Saravana 784793cd4c added psp to rook helm
Signed-off-by: Saravana <saravana.periyasamy@target.com>
2018-04-30 09:20:09 -05:00
Karol Chrapek 29f7d37199 Update rook helm charts documentation
Signed-off-by: Karol Chrapek <kaarol@it-flow.pl>
2018-04-18 05:56:40 +02:00
Brett Jacobson 1a81708d27 updated doc to specify namespace on helm install
Signed-off-by: Brett Jacobson <brett.jacobson42@gmail.com>
2018-04-07 13:13:47 -05:00
Alexander Trost 898528f99a docs: Combined flexvolume docs
docs: Flexvolume config: Added Atomic host to the list

docs: Added empty new line to all doc files

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-04-04 18:15:49 +02:00
Jared Watts 641b8897de helm: give operator permissions for removing storage nodes
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-01-29 09:24:23 -08:00
Travis Nielsen f61daf9dca Merge pull request #1423 from travisn/helm-add-properties
Add tolerationKey and add missing properties in Helm chart
2018-01-19 22:53:59 -08:00
Travis Nielsen 6b8a5e025b helm: add tolerationKey and add missing properties in docs 2018-01-19 16:53:33 -08:00
Travis Nielsen 6a1a1c31ad docs: helm chart install and other clarifications 2018-01-19 16:47:57 -08:00
Travis Nielsen 873751349a docs: update the table of contents 2018-01-12 16:55:34 -08:00
Gerard Hickey 158cbcaf83 Updated references to charts.rook.io to https
Using http based URLs with helm just returns errors when trying to redirect to https. 

````
0:0 ᐅ   helm repo add rook-alpha-test http://charts.rook.io/alpha 
Error: Looks like "http://charts.rook.io/alpha" is not a valid chart repository or cannot be reached: Failed to fetch http://charts.rook.io/alpha/index.yaml : 403 Forbidden
````
2017-10-11 10:08:17 -07:00
Travis Nielsen 442263a137 docs: object store crd settings 2017-09-19 15:31:53 -07:00
Travis Nielsen 086dfd5cb9 docs: tiller must be updated for rbac before installing the chart 2017-08-30 11:38:27 -07:00