Commit Graph
11197 Commits
Author SHA1 Message Date
Travis Nielsen a4f43dd7c3 Merge pull request #2908 from KerLiu/master
doc: Fix typo in doc
2019-03-30 18:37:12 -10: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
Alexander Trostandnull 07f7b3fba7 Merge pull request #2897 from dyusupov/master
support for configurable resource profiles

Co-authored-by: null <dmitry.yusupov@nexenta.com>
2019-03-30 20:34:58 +01: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
Ker Liu 4ca24f46d1 doc: Fix typo in doc
Signed-off-by: Ker Liu <kerliu818@gmail.com>
2019-03-29 18:38:41 +08:00
Jared Watts 27a4348582 Merge pull request #2907 from Defilan/CPM_adding_kubernetes_cni
Adding install for kubernetes-cni for integration tests
2019-03-28 15:28:48 -07:00
Christopher P. Maher 4954a32940 Adding install for kubernetes-cni for integration tests
Signed-off-by: Christopher P. Maher <chris@mahercode.io>
2019-03-28 09:32:57 -07:00
John Mulligan 3c22d31e17 design: future directions for rook + ceph-csi
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-03-27 12:55:18 -04: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
Alexander Trostandnull c696ce22f9 Merge pull request #2860 from dyusupov/master
Support for OpenStack/SWIFT CRD

Co-authored-by: null <dmitry.yusupov@nexenta.com>
2019-03-23 10:03:04 +01: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 06b6be3866 add selector for isgw service
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-03-21 16:32:32 -07:00
Dmitry Yusupov d91c0560cf added serviceAccountName to swift and others
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-03-21 16:32:32 -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
Alexander Trost 244752058c Merge pull request #2633 from travisn/ceph-nfs-integration-test
Base the rook ceph operator on Nautilus
2019-03-21 15:00:38 +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
travisn 531da9647c ceph: rely on ceph image creation success instead of rbd get info
Nautilus has an issue targeting Luminous when running the rbd info command.
Rook already has the info it needs for the call and can return it
after the rbd create command succeeds.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-20 15:15:36 -06:00
travisn 91cc62676d Base the rook ceph operator image on the Nautilus release image
To target a Nautilus image with msgr2 and configure the nfs ganesha feature
for Ceph, we need to update the base image to Nautilus.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-20 15:15:36 -06:00
travisn 058ffe8adf integration test for ceph nfs daemons
Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-20 15:15:36 -06:00
travisn 23498cf09d tests: smoke suite runs on nautilus
Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-20 12:39:29 -06:00
Alexander Trost f0ee64e9f3 Merge pull request #2847 from galexrt/issue_templates
Set bug or feature label depending on issue template
2019-03-20 18:44:18 +01:00
Alexander Trost 6502abc1e3 Merge pull request #2866 from dimm0/fix-names-edge
Fixed k8s object names
2019-03-20 18:43:24 +01: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
John Mulligan 5875069994 design: rewrite the rook/ceph-csi itegration section
Re-write the Rook/ceph-csi (short term) integration section
to conform to my goals and understanding of the integration
needs.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-03-19 13:05:54 -04:00
John Mulligan 2b97bdfc16 design: simplify "Coexist with flex driver" section
The "Coexist with flex driver" section was overly technical about
details in the implementation of CSI vs. flex. Remove the detail
and replace it with more goal oriented paragraphs.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-03-19 13:05:54 -04:00
John Mulligan 855e18fe40 design: Improve and update intro paragraphs
* Minor grammar and working improvements
* Update to current state of CSI in k8s, ceph-csi

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-03-19 13:05:22 -04:00
Travis Nielsen e28278578e Merge pull request #2818 from noahdesu/ceph-version-v3
ceph: add fine grained version tracking
2019-03-18 15:23:12 -06:00
Alexander Trost 33dcc77d70 Set bug or feature label depending on issue template
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-03-18 21:14:02 +01:00
Noah Watkins 379cb98689 ceph: replace release name with fine-grained version
The basic idea here is to replace the release name in the ClusterInfo
object with the fine grained version information queried at runtime.
This patch also removes the Name field from the cluster spec, which was
also runtime determined and was redundant with ClusterInfo relase name.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-03-18 12:57:29 -07:00
Travis Nielsen c8c09702c9 Merge pull request #2677 from travisn/design-external-cluster
Design: Managing an external ceph cluster
2019-03-18 10:44:10 -06:00
travisn a207fa4bcc design doc for managing an external ceph cluster
The user may want to connect to storage that is in a Ceph cluster,
independent from the local Kubernetes cluster. This design doc
describes the changes needed to enable the scenario.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-18 10:43:17 -06:00
Alexander Trost 2b0c088572 Merge pull request #2763 from galexrt/feature_1504
tests/scripts: Added basic k8s-vagrant-multi-node wrapper script
2019-03-18 15:54:04 +01:00
Alexander Trost 64a9308d07 tests/scripts: Added basic k8s-vagrant-multi-node wrapper script
This adds a basic wrapper script around k8s-vagrant-multi-node project.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-03-18 15:30:31 +01:00
Noah Watkins 7afe9d4b58 ceph: consolidate ceph version handling
Add a new package for parsing and interacting with ceph version
information. Previously ceph versions were limited to the release name,
and this patch supports ceph versions parts X.Y.Z for more fine grained
behavior.

The main structure introduced here in CephVersion which contains the
version parts. This will be used in the next patch to replace the Name
string component of the cluster CRD spec which was populated at runtime.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-03-17 15:33:44 -07:00
Travis Nielsen cbbfd6ee37 Merge pull request #2832 from sabbot/fix-2807
Edgefs,Issue 2807: Remove glog from edgefs rook operator
2019-03-15 14:06:36 -06:00
Travis Nielsen 935a6ec77b Merge pull request #2804 from SUSE/rbdmirror-updateandwait
Ceph rbd-mirror: use updateAndWait for daemons
2019-03-15 13:22:22 -06:00
Alexander Trostandnull 49f9a11cd4 Merge pull request #2813 from dyusupov/master
support for configurable rtlfs backend

Co-authored-by: null <dmitry.yusupov@nexenta.com>
2019-03-15 20:11:16 +01:00
Travis Nielsen 511cc6c365 Merge pull request #2764 from leseb/ceph-process-tuning
Ceph memory process tuning
2019-03-15 12:18:33 -06:00
Anton Skriptsov 3e5749c18f Remove glog from edgefs rook operator
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-03-15 10:22:53 -07:00
Dmitry Yusupov 213e440923 support for configurable rtlfs backend
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-03-15 10:14:44 -07:00
Sébastien Han 871054e887 ceph: implement pod restriction on memory
If someone sets limits to pod, we want to ensure the possible
experience, so we want to make sure that people do not configure
inapropriate values for certain daemons.
We decide to fail if the memory.limit is too low.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-03-15 17:35:44 +01:00
Travis Nielsen b3217173bf Merge pull request #2829 from noahdesu/dashboard-retry
retry dashboard operations
2019-03-15 07:59:32 -06:00
Sébastien Han b7fd64074c ceph: osd spec: tune osd memory target
If the spec of the OSD daemon contains resource limits, especially
memory.limit we will use that value for setting the osd memory target
value so the bluestore OSD knows the amount of memory available for its
cache.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-03-15 11:45:29 +01:00
Sébastien Han 004e2e95c3 ceph: mds spec: tune mds cache memory limit
If the spec of the MDS daemon contains resource limits, especially
memory.limit we will use that value for setting the mds cache memory
limit value so the MDS knows the amount of memory available.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-03-15 11:45:29 +01:00
Sébastien Han fa61c0441b ceph: pod: expose resource limits and requests
We now expose resource as environment variable in the pod.
They will be used by Ceph to report as a daemon metadata.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-03-15 11:45:29 +01:00