Commit Graph
2042 Commits
Author SHA1 Message Date
Travis Nielsen 82d3790925 Merge pull request #2974 from karmab/openshift_csi
csi with openshift support
2019-04-24 13:00:27 -06:00
karmab b2744fcaca csi with openshift support
Signed-off-by: karmab <karimboumedhel@gmail.com>
2019-04-24 20:37:28 +02:00
travisn 9dcddb5bed ceph: upgrade all daemons during ceph upgrade
The CephCluster CR contains settings that are needed by other
CRs to configure the Ceph daemons. When the CephCluster CR
is updated, the updates will now be passed on to each of the
CR controllers to ensure the daemons are updated properly
without requiring an operator restart.

When calling the controllers from another controller,
we ensure that only a single goroutine is handling
CRs at any given time to prevent contention across
multiple CRs of the same type.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-23 13:36:45 -06:00
Travis Nielsen 284b00fbcb Merge pull request #2403 from LinuxGit/Louis/update-mon-check-interval
docs: update ROOK_MON_HEALTHCHECK_INTERVAL
2019-04-23 12:52:20 -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 0cf15251fd ceph: set nautilus as the default version to deploy
Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-22 17:03:07 -06:00
Steven Rathbauer ca449c393b This prevents a liquid template error during jekyll build
Adding a raw tag wrapper tells liquid to ignore this section and compile
this text without trying to interpret it. Otherwise an error is thrown
during builds

Signed-off-by: Steven Rathbauer <steven@rathpc.com>
2019-04-18 12:54:40 -04:00
Travis Nielsen 46fadc792b Merge pull request #2996 from umangachapagain/ceph-mixins
Prometheus Rule for Ceph
2019-04-18 09:52:54 -06:00
Umanga Chapagain 361508ca7f Adding Prometheus based alerting for Ceph
Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2019-04-18 19:37:00 +05:30
Jared Watts 9aa05a7289 Update Rook logo
Signed-off-by: Jared Watts <jbw976@gmail.com>
2019-04-17 14:01:03 -07:00
Alexander Trost ea03048ef1 Merge pull request #2831 from galexrt/feature_2308
crds: Set annotations pods, deployments and so on
2019-04-17 10:27:14 +02:00
Travis Nielsen 33c8269e22 Merge pull request #2983 from bigbitbus/feature/improve-ceph-example
Improving ceph-examples-md
2019-04-16 21:38:38 -06:00
Travis Nielsen 847142c422 Merge pull request #2995 from Madhu-1/corrrect-csi-doc
rearrange RBD resource cleanup order in ceph-csi doc
2019-04-16 15:42:48 -06:00
Sachin Agarwal 923b8a13bf Improving ceph-examples-md
Adding some more context and details to the ceph examples. Updated links to Nautilus, added several links to ceph documentation, explained block/file/object storage, fixed some syntax errors.

Signed-off-by: Sachin Agarwal <sachinkagarwal@gmail.com>
2019-04-16 16:26:14 -04:00
Alexander Trost 0c6eb7aa3d crds: Set annotations pods, deployments and so on
Allow the user to set annotations in the CRDs of the following operators which will then be set on
the resulting Pods (Deployments, StatefulSets and so on).
Operators:
* Cassandra
* Ceph
* CockroachDB
* EdgeFS
* Minio
* NFS

The Annotations related structures have been added to the
rook.io/v1alpha2 pkg.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-04-16 20:47:05 +02:00
Madhu Rajanna ca396dce6f rearrange the order of rbd resource cleanup
the cleanup should be in order such that
cloned PVC, snapshot and snapshotclass has
to be deleted.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-04-16 13:25:42 +05:30
Madhu Rajanna a43dedc792 remove common.yaml deployment from csi doc
creation of the rbac is pre-req for
rook operator deployment, so removing
it from ceph-csi operator as rook operator
is pre-req for ceph-csi.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-04-16 13:23:36 +05:30
Sébastien Han b8874d7f3f ceph: allow logging control
We now run all the daemon with a new option from Nautilus 14.2.1 which
allows us to tell to a daemon to not log on file. However, we can decide
to activate logging by editing the configuration flag 'log_to_file' via
the centralized config store like this for a particular daemon:

ceph config set mon.a log_to_file true

This is useful when a daemon keeps crashing and we want to collect log
files on the system.

Fixes: https://github.com/rook/rook/issues/2881
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-04-15 10:52:03 +02:00
Alexander Trost 8bc26d9096 k8sclient: Update all operators to use apps/v1
All usages of k8s go client are now also using the versioned `AppsV1() `
call for the client.

Updated MySQL and Wordpress, and Kube Registy examples to use apps/v1
Deployments.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-04-12 09:25:42 +02:00
Travis Nielsen 65c0fd878f Merge pull request #2962 from noahdesu/ceph-crypto-link
ceph: add link to ceph docs on encryption details
2019-04-11 12:34:53 -06:00
Travis Nielsen 8f3d62e56b Merge pull request #2936 from SUSE/cautious-osd-node-removal
ceph: remove osd host nodes only when certain
2019-04-11 12:34:24 -06:00
Noah Watkins 21d6c90ed7 ceph: add link to ceph docs on encryption details
fixes: #2926

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-04-11 10:50:22 -07:00
Blaine Gardner a80082988d ceph: remove osds only when certain
Make the Ceph operator more cautious about when it decides to remove
nodes from the Rook-Ceph cluster which are acting as osd hosts.

When `useAllNodes` is set to `true` we assume that the user wants to
have the most hands-off experience. Node removals are allowed when a
node is delted from Kubernetes and when a node has its taints/affinities
modified by the user (but not by automatic k8s modification as much as
possible).

When `useAllnodes` is set to `false` the only time a node is removed is
if it is removed from the Ceph cluster definition.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-04-11 09:41:54 -06:00
Madhu Rajanna 149ace57e6 remove manual namespace creation from doc
need to remove the manual namespace creation from
the doc because it will be created as part of
common.yaml deployment.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-04-11 14:32:07 +05:30
Travis Nielsen f52df1aafd Merge pull request #2934 from Madhu-1/csi-doc-update
update ceph-csi rbd snapshot document
2019-04-10 17:28:15 -06:00
Travis Nielsen 38be11936c Merge pull request #2859 from phlogistonjohn/jjm-csi-simplify-1
Simplify Ceph CSI setup
2019-04-10 17:23:41 -06:00
Travis Nielsen 1113688aa8 Merge pull request #2952 from dyusupov/master
support for configurable trlog settings
2019-04-10 17:18:47 -06:00
John Mulligan d46190357a doc: minor csi doc fix
When testing my changes I couldn't successfully deploy without also
creating the contents of common.yaml first.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-04-10 17:53:28 -04:00
John Mulligan c0f5557d47 docs: remove instructions for manual ceph csi config maps
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-04-10 17:53:28 -04:00
Madhu Rajanna b5001ebfa7 update ceph-csi rbd snapshot document
The current document is too old and it has
a reference to the master branch(earlier
master branch referred to csi-v0.3.0).
This PR updated the snapshot document
wrt to the changes required for csi-v1.0.0

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-04-10 20:30:41 +05:30
Madhu Rajanna d9dd81396c remove attacher statefulset for rbd csi driver
deploy attacher as a container inside  rbd provisioner
stateful set

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-04-10 18:27:08 +05:30
Dmitry Yusupov e1f61219b4 support for configurable trlog settings
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-04-09 15:20:18 -07: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
travisn ceb2be1aca refactor the ceph cluster crd and related example yamls
The RBAC is tedious to copy everywhere with the cluster.yaml and is confusing to newcomers.
The common resources are now factored into the operator-common.yaml for the common scenario
of creating a single cluster. Examples are now added for configuration of the operator
and cluster crds to provide a more complete set.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-04 12:42:07 -06:00
Alexander Trost ee308ec920 Merge pull request #2911 from noahdesu/dmcrypt-docs
ceph: add docs for encrypted devices
2019-04-02 23:06:04 +02:00
Noah Watkins 0d6c5fe032 ceph: add docs for encrypted devices
fixes: #2779

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-04-01 16:19:16 -07:00
Alexander Trost 0e7dbe4086 Merge pull request #2456 from whereisaaron/patch-1
Document the RBD module prerequisite for Rook Ceph
2019-03-31 15:25:51 +02:00
Aaron Roydhouse b94bbf6f98 Document the RBD module prerequisite for Rook Ceph
The RBD module is an important prerequisite for Rook Ceph. It is mentioned as a possible problem on the Common Issues page, but that is the ambulance at the bottom of the cliff 😄. We should mention the perquisite for new users, tell them how to check, and note any major Kubernetes-as-a-service providers that do not have the RBD module.
https://rook.io/docs/rook/master/common-issues.html#rook-agent-rbd-module-missing-error

Signed-off-by: Aaron Roydhouse <aaron@roydhouse.com>
2019-03-31 02:42:20 -04:00
Travis Nielsen be80c32535 Merge pull request #2457 from whereisaaron/patch-2
Add a Kubernetes Ingress example for dashboard
2019-03-30 18:36:30 -10:00
Dmitry Yusupov 9ad68500fa support for configurable resource profiles
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-03-29 10:33:13 -07:00
Aaron Roydhouse e3bcd5031a Add a Kubernetes Ingress example for dashboard and documentation for it
The examples folder has Service examples but no Ingress examples. This example Ingress is important because it demonstrates how to configure and Ingress that will work with the self-signed certificate the `rook-ceph` installs. The Service name and Namespace matches the default `rook-ceph` install.

Signed-off-by: Aaron Roydhouse <aaron@roydhouse.com>
2019-03-27 12:21:21 -04:00
Alexander Trost db218e42d7 Merge pull request #2879 from sabbot/segments
Edgefs #2878. Add multiple cluster support for CSI driver
2019-03-27 00:13:22 +01:00
Noah Watkins 647bb544a6 doc: add link to vagrant+libvirt setup
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-03-25 14:11:09 -07:00
Anton Skriptsov a571ed6bd0 Edgefs #2878. Add multiple cluster support for CSI driver
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-03-22 14:01:48 -07:00
Dmitry Yusupov f58fcd0fc5 Support for OpenStack/SWIFT CRD
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-03-21 16:32:28 -07:00
Alexander Trost 2403655cb5 Merge pull request #2837 from sabbot/PR2513-zone-support
Edgefs:2513 Add failure domain and zones
2019-03-21 16:13:11 +01:00
Anton Skriptsov 4f909d86ac Edgefs:2513 Add failure domain and zones
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-03-21 05:02:26 -07:00
Travis Nielsen 233c321103 Merge pull request #2835 from travisn/mon-preferred-count
Increase the number of mons when nodes are added
2019-03-20 15:17:37 -06:00
Dmitry Mishin a9a2840a16 Fixed k8s object names
uppercase is not allowed

Signed-off-by: Dmitry Mishin <dmitry.mishin@gmail.com>
2019-03-20 10:30:42 -07:00
travisn 7548e76bab Increase the number of mons when nodes are added
The desired number of mons could change depending on the number of nodes in a cluster.
For example, three mons would be the min number of mons in a production cluster with at
least three nodes. If there are five or more nodes, the number of mons could increase
to five in order to increase the failure tolerance to two nodes.

This is accomplished by a new setting in the cluster CRD preferredCount. If the number
of hosts exceeds preferredCount, more mons are added to quorum. If the number
of hosts drops below the preferred count, the operator would reduce the quorum size to
the smaller desired count.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-19 13:00:37 -06:00