Commit Graph
156 Commits
Author SHA1 Message Date
k911 cf7d13d13d docs: Improve HA docker registry example
Signed-off-by: k911 <konradobal@gmail.com>
2018-12-26 20:53:23 +01:00
Dmitry Yusupov 3700009108 Introduced new configurational option "sync"
New configurational option enables flexible choice for write I/O
to allow configurable trades between performance, reliability and consistency.

This also fixes bcache mis-configuration.

Fixes #2367

Signed-off-by: Dmitry Yusupov <dmitry@nexenta.com>
2018-12-16 11:39:59 -08:00
Travis Nielsen 710e9b715b Merge pull request #2323 from SUSE/upgrade-documentation
Upgrade documentation
2018-12-07 19:52:00 -07:00
travisn eb41a9c521 openshift: update the scc kind name
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-07 17:38:11 -07:00
Blaine Gardner bb862e460c Update upgrade docs for Rook 0.9 release
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-12-07 17:36:17 -07:00
Travis Nielsen f6bcdfa687 Merge pull request #2346 from travisn/mgr-configmap-access
Grant access for ceph-mgr to access the configmaps in the system namespace
2018-12-07 16:51:02 -07:00
Alexander Trost 6dc508b704 Merge pull request #2318 from galexrt/minio_arbitary_pvcs
Cockroachdb + Minio: Use PersistentVolumeClaimTemplates storage
2018-12-08 00:20:07 +01:00
travisn ff3f73d73c mgr: grant access to the configmaps to read devices in the system namespace
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-07 14:10:35 -07:00
Alexander Trost 8718381927 cockroachdb: Added missing configmaps create for ownerref check
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-12-07 20:30:46 +01:00
Travis Nielsen 64a4f494a4 Merge pull request #2214 from sebastian-philipp/additional-printer-columns
Ceph CRDs: Add additionalPrinterColumns to enhance command line output
2018-12-07 12:18:28 -07:00
Travis Nielsen a85aa84719 Merge pull request #2269 from travisn/ceph-volume
Provision OSDs with ceph-volume
2018-12-07 12:12:23 -07:00
Alexander Trost 097f640bbb doc: rename monitoring doc for Ceph
doc: move Ceph mon example files to ceph example subfolder

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-12-07 19:33:27 +01:00
Sebastian Wagner 71c0328b09 Ceph CRDs: Add additionalPrinterColumns to enhance command line output
Like so:
```
$ kubectl get cluster.ceph.rook.io
NAME        DATADIRHOSTPATH   MONCOUNT   AGE
rook-ceph   /var/lib/rook     1          4h
```

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-12-07 10:58:43 -07:00
travisn 1389cc56db ceph: enable multiple osds per device
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-07 09:29:15 -07:00
Alexander Trost 5fc8584422 Cockroachdb + Minio: Use PersistentVolumeClaimTemplates storage
selection field.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-12-07 12:20:49 +01:00
Dmitry Yusupov 215cab1234 Edgefs docs and examples
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2018-12-05 23:05:39 -08:00
travisn 9660f49624 ceph: remove crd short names to avoid conflict with beta crds
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-05 16:23:55 -07:00
travisn a29b876337 rename ceph v1 crds with the ceph prefix
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-05 16:23:55 -07:00
travisn 62f7e5d6ea ceph: update docs, code, and tests to use v1 crd types
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-05 14:33:11 -07:00
Yannis Zarkadas 0ccc04cccd cassandra: controller scaffolding, image build and manifests
Scaffolding of a Kubernetes controller using the informer-workqueue
pattern.
Dockerfiles and Makefiles to build the cassandra operator image.
Manifests to deploy the Cassandra operator and create a Cluster CRD.

Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com>
2018-12-05 12:44:29 +02: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
travisn ea03f58048 rbac: rename service account rook-ceph-cluster to rook-ceph-osd
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-30 13:39:58 -07:00
travisn 16c2a56591 add ceph mgr roles to the tests and helm chart
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-30 13:39:58 -07:00
John Spray 66ac7de303 Grant ceph-mgr readonly access to nodes
We can attempt to get knowledge of nodes from Rook's
configmaps, but going direct is useful for usability in the Ceph UI: users
should be able to distinguish between "node doesn't exist"
and "node exists but Rook is unaware of it".

Signed-off-by: John Spray <john.spray@redhat.com>
2018-11-30 10:50:21 -07:00
John Spray cff953696c Set service account on ceph-mgr pod
This is to enable the `rook` ceph-mgr module to drive
the Rook and k8s APIs, exposing functionality via
its own CLI and GUI.

The service account gets access to two different roles:
one for the items that are within the cluster's namespace,
and one for reading configmaps in the rook-ceph-system namespace,
which is needed for reporting available devices.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-11-30 10:50:20 -07:00
travisn fdd64bb95a enable rbd mirror daemon in the cluster crd
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-28 08:29:57 -07:00
Ben Zieglmeier 6d04bbf430 ceph: Add CRD for Object Store User
Add the ability to create and manage object store users with CRDs

Signed-off-by: Ben Zieglmeier <benjamin.zieglmeier@target.com>
2018-11-21 15:15:05 -06:00
Jared Watts 2274f78683 Fixes for running Ceph, CockroachDB, and Minio demos
- Add cluster domain to minio spec
- Remove port configuration from minio spec
- Include unused packages for codegen related repos
- Update Minio version to pick up latest fixes
- Helper to load cockroachdb demo images into minikube

Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-11-08 10:52:49 -08:00
Andrey Laguta c247e8c0f7 Add urlPrefix setting for ceph dashboard
Signed-off-by: Andrey Laguta <13280256+laevilgenius@users.noreply.github.com>
2018-11-06 02:58:47 +02:00
travisn 6cfd2ee11a port 7000 for the luminous dashboard and 8443 for mimic and above
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-01 11:49:37 -06:00
travisn 906add05ce consume the ceph images from the ceph/ceph repo
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-01 11:49:37 -06:00
travisn b2a0dc77fa automatically detect the major version of the Ceph image
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-01 11:49:36 -06:00
travisn 39117a7a0b mgr: configure a self-signed cert and admin user for the dashboard
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-01 11:49:36 -06:00
travisn 272f0e9a39 document the new cluster crd attributes for versioning
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-01 11:49:36 -06:00
travisn 77171fa2e2 operator: crd updates to support decoupled ceph version
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-01 11:48:45 -06:00
Travis Nielsen 224330764c Merge pull request #2190 from johnae/support-alternate-libmodules-dir
Support alternate libmodules dir
2018-10-17 15:22:06 -06: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
travisn 01dc5656f3 reduce frequency of device discovery
Signed-off-by: travisn <tnielsen@redhat.com>
2018-10-17 09:56:47 -06:00
solidnerd 98d527fadc Fix quickstart link in kubernetes examples
Signed-off-by: solidnerd <niclas@mietz.io>
2018-10-07 15:50:22 +02:00
travisn efd581e7ed start toolbox pod with the ceph image instead of a separate image
Signed-off-by: travisn <tnielsen@redhat.com>
2018-10-02 15:43:53 -06:00
Alexander Trost b83595e5cb Added missing RBAC in quickstart Cluster definition
Corrected the cluster namespace in some examples to rook-ceph

Updated PodSecurityPolicy hostNetwork ports

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-09-06 13:27:30 +02:00
travisn 2e1796608f specify correct flex drivers in scc
Signed-off-by: travisn <tnielsen@redhat.com>
2018-08-24 13:26:58 -06:00
Karol Chrapek 227186d1e3 Update namespace and tools name for rook-ceph-tools
Signed-off-by: Karol Chrapek <kaarol@it-flow.pl>
2018-08-24 12:51:37 +02:00
Karol Chrapek ae2ac846c7 Change rook-tools deployment
Signed-off-by: Karol Chrapek <kaarol@it-flow.pl>
2018-08-24 12:51:01 +02:00
rohan47 9aec1d3002 nfs: Documentation, user guides, examples
Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
2018-08-22 11:57:44 +00:00
Alexander Trost ef42a3ecf7 Merge pull request #1959 from galexrt/fix_1733
Add dataPool parameter to StorageClass
2018-08-22 11:03:15 +02:00
Alexander Trost 304eafa07d Ceph: Improve erasure coded filesystem docs
Replace `rook-operator.yaml` mentions with `operator.yaml` as it is
named right now.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-08-19 13:23:23 +02:00
Alexander Trost 2080330539 Add dataPool parameter to StorageClass
This change allows block storage to use a given Ceph pool for it's data.

Fixes #1733

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-08-17 16:28:08 +02:00
Bogdan Luca cfe344d142 [docs] Set "hostNetwork: true" for toolbox
Signed-off-by: Bogdan Luca <luca.bogdan@gmail.com>
2018-08-14 23:14:39 +03:00
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